Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/i/ifaddrs.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/i/ifaddrs.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/i/ifaddrs.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/i/ifaddrs.html on line 8

ifaddrs

Structure that describes an Internet host

Synopsis:

#include <ifaddrs.h>

struct ifaddrs {
    struct ifaddrs *  ifa_next;
    char *            ifa_name;
    u_int             ifa_flags;
    struct sockaddr * ifa_addr;
    struct sockaddr * ifa_netmask;
    struct sockaddr * ifa_dstaddr;
    void *            ifa_data;
};

Description:

The ifaddrs structure contains the following entries:

ifa_next
A pointer to the next structure in the list. This field is NULL in the last structure in the list.
ifa_name
The interface name.
ifa_flags
The interface flags, as set by the ifconfig utility.
ifa_addr
Either the address of the interface or the link-level address of the interface, if one exists; otherwise it's NULL. See the sa_family member of the sockaddr structure pointed to by ifa_addr to determine the format of the address.
ifa_netmask
The netmask associated with ifa_addr, if one is set; otherwise it's NULL.
ifa_dstaddr
The destination address on a P2P interface, if one exists; otherwise it's NULL. If the interface isn't a P2P interface, ifa_dstaddr contains the broadcast address associated with ifa_addr, if one exists; otherwise it's NULL (see <ifaddr.h>).
ifa_data
Currently, this is set to NULL.

Classification:

Unix

See also:

freeifaddrs(), getifaddrs()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/i/ifaddrs.html on line 125

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/i/ifaddrs.html on line 125