Expand description
net/if.h implementation.
See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/net_if.h.html.
Structs§
Constants§
- IFF_
ALLMULTI - Receive all multicast packets.
- IFF_
AUTOMEDIA - Auto media selection active.
- IFF_
BROADCAST - Valid broadcast address set.
- IFF_
DEBUG - Internal debugging flag.
- IFF_
DORMANT - Driver signals dormant.
- IFF_
DYNAMIC - The addresses are lost when the interface goes down.
- IFF_
ECHO - Echo sent packets.
- IFF_
LOOPBACK - Interface is a loopback interface.
- IFF_
LOWER_ UP - Driver signals L1 up.
- IFF_
MASTER - Master of a load balancing bundle.
- IFF_
MULTICAST - Supports multicast.
- IFF_
NOARP - No arp protocol, L2 destination address not set.
- IFF_
NOTRAILERS - Avoid use of trailers.
- IFF_
POINTOPOINT - Interface is a point-to-point link.
- IFF_
PORTSEL - Is able to select media type via ifmap.
- IFF_
PROMISC - Interface is in promiscuous mode.
- IFF_
RUNNING - Resources allocated.
- IFF_
SLAVE - Slave of a load balancing bundle.
- IFF_UP
- Interface is running.
- IFF_
VOLATILE - IF_
NAMESIZE - See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/net_if.h.html.
Functions§
- if_
freenameindex ⚠ - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/if_freenameindex.html.
- if_
indextoname ⚠ - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/if_indextoname.html.
- if_
nameindex ⚠ - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/if_nameindex.html.
- if_
nametoindex ⚠ - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/if_nametoindex.html.