Re: local ip addresses

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

 





On Thu, 8 Nov 2001, Jan Jezek wrote:
> 1. dev_base points to a linked list of struct net_device
> 2. each net_device has the field in_dev, which points to struct
in_device

not quite so, there is no in_dev field, instead ip_ptr should be used and
since it is void * i recommend using existing function __in_dev_get
which returns in_device struct correspondong to argument net_device struct
.

> 3. struct in_device's field ifa_list points to a linked list of IP
> addresses of that device

thnx,
lynx


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux