From mboxrd@z Thu Jan 1 00:00:00 1970 From: Varun Chandramohan Subject: ipaddress Date: Tue, 06 Mar 2007 15:01:53 +0530 Message-ID: <45ED3509.1000108@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org Hi all, Can some give a code sample for the most efficient way to identify a given ip address (both ipv4 and ipv6) as unicast/anycast/broadcast? Regards, varun