User`s guide
Table Of Contents

15
– The freeaddrinfo() function frees one or more addrinfo
structures returned by getaddrinfo(), along with any
additional storage associated with those structures.
– The getipnodebyname() and getipnodebyaddr() functions
are for node name to address and address to node name
translations for a given address family type.
– The getaddrinfo(), getnameinfo(), getipnodebyname()
and getipnodebyaddr() functions are thread-safe.
– The freehostent() function frees the memory occupied by the
hostent structure that was obtained by a call to
getipnodebyname() or getipnodebyaddr().
– The if_indextoname() function maps an interface index to its
corresponding name.
– The if_nametoindex() function maps an interface name to its
corresponding index.
– The if_nameindex() function returns all interface names and
indexes.
– The if_freenameindex() function frees memory allocated by
if_nameindex().