Re: ioctl SIOCGARP question

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

 



In article <20020119192045.GA25668@morinfr.org> you wrote:
>        memset(&a,0,sizeof(a));
>        strcpy(a.arp_dev,INTERFACE);
>        sin = (struct sockaddr_in *) &(a.arp_pa);
>        sin->sin_family = AF_INET;

You have to set the flags to ATF_PUB or ATF_DONTPUB.

Greetings
Bernd
-
: 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