#include <sys/types.h>Go to the source code of this file.
Data Structures | |
| struct | interface |
Macros | |
| #define | IFACE_PHASE1 0x001 |
| #define | IFACE_PHASE2 0x002 |
| #define | IFACE_LOOPBACK 0x004 |
| #define | IFACE_SEED 0x008 |
| #define | IFACE_ADDR 0x010 |
| #define | IFACE_CONFIG 0x020 |
| #define | IFACE_NOROUTER 0x040 |
| #define | IFACE_LOOP 0x080 |
| #define | IFACE_RSEED 0x100 |
| #define | IFACE_DONTROUTE 0x200 |
| #define | IFACE_ISROUTER 0x400 |
| #define | IFACE_ERROR 0x2000 |
| #define | UNSTABLE 2 |
| #define | STABLE 0 |
| #define | STABLEANYWAY -2 |
| #define | IFBASE 2 |
| #define | LOOPIFACE "lo0" |
Functions | |
| struct interface * | newiface (const char *) |
Variables | |
| struct interface * | interfaces |
| struct interface * | ciface |
| #define IFACE_ADDR 0x010 |
has an address set
| #define IFACE_CONFIG 0x020 |
has been configured
| #define IFACE_DONTROUTE 0x200 |
don't route this interface
| #define IFACE_ERROR 0x2000 |
sendto returned an error
| #define IFACE_ISROUTER 0x400 |
act as a router.
| #define IFACE_LOOP 0x080 |
has a loopback route
| #define IFACE_LOOPBACK 0x004 |
is the loopback interface
| #define IFACE_NOROUTER 0x040 |
no router on interface
| #define IFACE_PHASE1 0x001 |
| #define IFACE_PHASE2 0x002 |
| #define IFACE_RSEED 0x100 |
almost the same as seed. RSEED says that we should try to do routing.
| #define IFACE_SEED 0x008 |
act as seed
| #define IFBASE 2 |
base number of interfaces
| #define LOOPIFACE "lo0" |
| #define STABLE 0 |
| #define STABLEANYWAY -2 |
| #define UNSTABLE 2 |
| struct interface * newiface | ( | const char * | name | ) |
|
extern |
|
extern |