#include "config.h"#include <sys/types.h>#include <sys/ioctl.h>#include <sys/mib.h>#include <sys/socket.h>#include <net/route.h>#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "dnet.h"Go to the source code of this file.
Classes | |
| struct | route_handle |
Defines | |
| #define | ADDR_ISHOST(a) |
| #define | MAX_RTENTRIES 256 |
Functions | |
| route_t * | route_open (void) |
| int | route_add (route_t *r, const struct route_entry *entry) |
| int | route_delete (route_t *r, const struct route_entry *entry) |
| int | route_get (route_t *r, struct route_entry *entry) |
| int | route_loop (route_t *r, route_handler callback, void *arg) |
| route_t * | route_close (route_t *r) |
|
|
Value: (((a)->addr_type == ADDR_TYPE_IP && \ (a)->addr_bits == IP_ADDR_BITS) || \ ((a)->addr_type == ADDR_TYPE_IP6 && \ (a)->addr_bits == IP6_ADDR_BITS)) Definition at line 26 of file route-hpux.c. Referenced by route_add(), and route_delete(). |
|
|
Definition at line 126 of file route-hpux.c. Referenced by route_loop(). |
|
||||||||||||
|
Definition at line 48 of file route-hpux.c. References addr::addr_bits, addr_btom(), ADDR_ISHOST, addr_net(), addr_ntos(), IP_ADDR_LEN, memcpy, memset, route_entry::route_dst, and route_entry::route_gw. |
|
|
Definition at line 172 of file route-hpux.c. References NULL. |
|
||||||||||||
|
Definition at line 72 of file route-hpux.c. References addr::addr_bits, addr_btom(), ADDR_ISHOST, addr_net(), addr_ntos(), IP_ADDR_LEN, memcpy, memset, and route_entry::route_dst. |
|
||||||||||||
|
Definition at line 95 of file route-hpux.c. References addr::addr_bits, addr_btom(), addr::addr_type, ADDR_TYPE_IP, errno, IP_ADDR_ANY, IP_ADDR_BITS, IP_ADDR_LEN, memcpy, memset, route_entry::route_dst, and route_entry::route_gw. |
|
||||||||||||||||
|
Definition at line 129 of file route-hpux.c. References addr::addr_bits, addr_mtob(), addr::addr_type, ADDR_TYPE_IP, IP_ADDR_BITS, IP_ADDR_LEN, MAX_RTENTRIES, route_entry::route_dst, and route_entry::route_gw. |
|
|
Definition at line 36 of file route-hpux.c. References NULL, and route_close(). |
1.4.2