rtnetlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



how do i get the IPv6 address of an interface on RH6.2 system using 
rtnetlink

the system has experimental IPv6 support

i Have tried various programming lists but nobody seems to know it properly

can somebody gimme some pointers as to what might be the problem  
the program i wrote doesn't even compile


i stripped off  everything and just kept the includes and still it does 
not compile



#include<asm/types.h>
#include<linux/netlink.h>
#include<linux/rtnetlink.h>


int main()
{
    return 0;
}

it still gives me an error in the netlink.h header file  on line 17 
saying ; missing
doesnt seem tounderstand sa_family_t



regards
amit

-- 
As flies to wanton boys are we to the gods; they kill us for their sport.
		-- Shakespeare, "King Lear"



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux