Network interface header file. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | ifreq |
Interface request structure used for socket ioctl's. More... | |
Defines | |
#define | IF_NAMESIZE 8 |
Length of interface name, including terminating zero character. | |
Interface Flags | |
#define | IFF_UP 0x00000001 |
Interface is up. | |
#define | IFF_BROADCAST 0x00000002 |
Broadcast address valid. | |
#define | IFF_DEBUG 0x00000004 |
Turn on debugging. | |
#define | IFF_LOOPBACK 0x00000008 |
Is a loopback net. | |
#define | IFF_POINTOPOINT 0x00000010 |
Is a point-to-point link. | |
#define | IFF_NOARP 0x00000080 |
No address resolution protocol. | |
#define | IFF_PROMISC 0x00000100 |
Receive all packets. | |
#define | IFF_ALLMULTI 0x00000200 |
Receive all multicast packets. | |
#define | IFF_DRV_OACTIVE 0x00000400 |
Transmit hardware queue is full. | |
#define | IFF_SIMPLEX 0x00000800 |
Can't hear own transmissions. | |
#define | IFF_LINK0 0x00001000 |
Per link layer defined bit. | |
#define | IFF_LINK1 0x00002000 |
Per link layer defined bit. | |
#define | IFF_LINK2 0x00004000 |
Per link layer defined bit. | |
#define | IFF_MULTICAST 0x00008000 |
Supports multicast. | |
#define | IFF_PPROMISC 0x00020000 |
User-requested promisc mode. | |
#define | IFF_MONITOR 0x00040000 |
User-requested monitor mode. | |
#define | IFF_STATICARP 0x00080000 |
Static ARP. | |
Interface Link State | |
#define | LINK_STATE_UNKNOWN 0 |
#define | LINK_STATE_DOWN 1 |
#define | LINK_STATE_UP 2 |
Network interface header file.
* * $Log$ * Revision 1.2 2008/08/11 07:00:19 haraldkipp * BSD types replaced by stdint types (feature request #1282721). * * Revision 1.1 2007/05/02 11:15:31 haraldkipp * Socket ioctl functions added. Untested. * * *
Definition in file if.h.
#define IF_NAMESIZE 8 |
#define IFF_UP 0x00000001 |
#define IFF_DRV_OACTIVE 0x00000400 |