ipv6_get_ifaddr

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

 



Hi all,

I'm trying to find a way in the kernel to find the device a given IPv6 
address is assigned to and then delete that address. I found the 
function ipv6_get_ifaddr() that seems to do the first step. However, 
that function looks like it increments a reference count in the 
corresponding inet6_ifaddr structure. I have a feeling I don't want that 
to happen. Could someone give a brief description of what the refcnt 
field is used for, and maybe point me to an example of how to do what I 
described above correctly.

thanks,
Joe

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[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