#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 int | print_route (const struct route_entry *entry, void *arg) | 
| int | route_main (int argc, char *argv[]) | 
| Variables | |
| mod | mod_route | 
| 
 | ||||||||||||
| 
 Definition at line 34 of file route.c. References addr_ntoa(), route_entry::route_dst, and route_entry::route_gw. Referenced by route_main(). | 
| 
 | ||||||||||||
| 
 Definition at line 42 of file route.c. References addr_aton, addr::addr_bits, addr_ntoa(), err(), IP_ADDR_BITS, NULL, print_route(), route_add(), route_close(), route_delete(), route_entry::route_dst, route_get(), route_entry::route_gw, route_loop(), route_open(), and usage(). | 
| 
 | 
| 
 | 
| 
 | 
| Initial value:  {
        "route",
        MOD_TYPE_KERN,
        route_main
}
 | 
 1.4.2
 1.4.2