Re: rtnetlink

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

 



well yes the code did compile
ihave included sys/socket.h

i m npw fighting with other problems

-SIGTERM
amit

Philippe Veillette (LMC) wrote:

>hi
>
>have you try to include 
>#include <linux/socket.h>
>before netlink.h
>
>I should compile....
>
>
>-----Original Message-----
>From: amit Limaye [mailto:amit.limaye@patni.com]
>Sent: Monday, August 05, 2002 2:28 AM
>To: linux-net@vger.kernel.org
>Subject: rtnetlink
>
>
>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