Internetprotocol-Address Linux

Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Author

© 2011 Jörg Seebohn

Files

C-kern/api/io/ip/ipaddr.h

Header file of Internetprotocol-Address.

C-kern/platform/Linux/io/ipaddr.c

Linux specific implementation Internetprotocol-Address Linux.

helper

lifetime

query

log

change

ipaddr_list_t

struct ipaddr_list_t

Stores list of ipaddr_t.  Allows to iterate over every entry.

Summary
current_addrPoints to ipaddr_t storage used to return next address.
firstPoints to start of list.
nextPoints in list.
implementation

current_addr

Points to ipaddr_t storage used to return next address.

first

struct addrinfo * first

Points to start of list.  This is the system specific type struct addrinfo.

next

struct addrinfo * next

Points in list.  Indicates which address to return as next.

implementation

ipport_t

implementation

ipaddr_storage_t

Functions

implementation

Implements Internetprotocol-Address on Linux.
struct ipaddr_list_t
Stores list of ipaddr_t.
struct addrinfo * first
Points to start of list.
struct addrinfo * next
Points in list.
Close