#include "config.h"#include <sys/types.h>#include <err.h>#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "dnet.h"#include "mod.h"Go to the source code of this file.
Functions | |
| static void | usage (void) |
| static char * | flags2string (u_short flags) |
| static int | print_intf (const struct intf_entry *entry, void *arg) |
| int | intf_main (int argc, char *argv[]) |
Variables | |
| static intf_t * | intf |
| mod | mod_intf |
|
|
Definition at line 39 of file intf.c. References INTF_FLAG_BROADCAST, INTF_FLAG_LOOPBACK, INTF_FLAG_MULTICAST, INTF_FLAG_NOARP, INTF_FLAG_POINTOPOINT, INTF_FLAG_UP, and strlcat(). Referenced by print_intf(). |
|
||||||||||||
|
Definition at line 97 of file intf.c. References addr_aton, addr_pton(), err(), intf_close(), INTF_FLAG_NOARP, INTF_FLAG_UP, intf_get(), intf_get_dst(), intf_get_src(), intf_loop(), intf_open(), intf_set(), memset, NULL, print_intf(), strlcpy, and usage(). |
|
||||||||||||
|
Definition at line 65 of file intf.c. References addr_ntoa(), ADDR_TYPE_ETH, ADDR_TYPE_IP, and flags2string(). Referenced by intf_main(). |
|
|
|
|
|
Definition at line 23 of file intf.c. Referenced by __pyx_f_4dnet_4intf___dealloc__(), __pyx_f_4dnet_4intf_get(), __pyx_f_4dnet_4intf_get_dst(), __pyx_f_4dnet_4intf_get_src(), __pyx_f_4dnet_4intf_loop(), __pyx_f_4dnet_4intf_set(), eth_open(), and intf_open(). |
|
|
Initial value: {
"intf",
MOD_TYPE_KERN,
intf_main
}
|
1.4.2