|
Data Structures |
| struct | oroute |
| struct | iroute |
Defines |
| #define | ORTD_UNREACHABLE 512 |
| #define | ORTF_EMPTY 0 |
| #define | ORTF_INUSE 1 |
| #define | ORTF_STATIC 2 |
| #define | IRTD_UNREACHABLE 512 |
| #define | IRTF_EMPTY 0 |
| #define | IRTF_INUSE 1 |
| #define | IRTF_STATIC 2 |
| #define | IPR_UNRCH_TIMEOUT (60L * HZ) |
| #define | IPR_TTL_TIMEOUT (60L * HZ) |
| #define | IPR_REDIRECT_TIMEOUT (20 * 60L * HZ) |
| #define | IPR_GW_DOWN_TIMEOUT (60L * HZ) |
| #define | IPR_MTU_TIMEOUT (10*60L * HZ) |
Typedefs |
| typedef oroute | oroute_t |
| typedef iroute | iroute_t |
Functions |
| iroute_t *iroute_frag | ARGS ((int port_nr, ipaddr_t dest)) |
| int oroute_frag | ARGS ((int port_nr, ipaddr_t dest, int ttl, size_t msgsize, ipaddr_t *nexthop)) |
| void ipr_init | ARGS ((void)) |
| int ipr_get_iroute | ARGS ((int ent_no, nwio_route_t *route_ent)) |
| int ipr_add_iroute | ARGS ((int port_nr, ipaddr_t dest, ipaddr_t subnetmask, ipaddr_t gateway, int dist, int mtu, int static_route, iroute_t **route_p)) |
| int ipr_del_iroute | ARGS ((int port_nr, ipaddr_t dest, ipaddr_t subnetmask, ipaddr_t gateway, int static_route)) |
| void ipr_chk_itab | ARGS ((int port_nr, ipaddr_t addr, ipaddr_t mask)) |
| int ipr_add_oroute | ARGS ((int port_nr, ipaddr_t dest, ipaddr_t subnetmask, ipaddr_t gateway, time_t timeout, int dist, int mtu, int static_route, i32_t preference, oroute_t **route_p)) |
| void ipr_gateway_down | ARGS ((int port_nr, ipaddr_t gateway, time_t timeout)) |
| void ipr_redirect | ARGS ((int port_nr, ipaddr_t dest, ipaddr_t subnetmask, ipaddr_t old_gateway, ipaddr_t new_gateway, time_t timeout)) |
| void ipr_destunrch | ARGS ((int port_nr, ipaddr_t dest, ipaddr_t subnetmask, time_t timeout)) |
| void ipr_mtu | ARGS ((int port_nr, ipaddr_t dest, U16_t mtu, time_t timeout)) |