#include <sys/types.h>Go to the source code of this file.
Data Structures | |
| struct | rtmptab |
| struct | rtmp_head |
| struct | rtmp_tuple |
Macros | |
| #define | SZ_RTMPTUPLE 3 |
| #define | RTMPTAB_PERM 0 |
| #define | RTMPTAB_GOOD 1 |
| #define | RTMPTAB_SUSP1 2 |
| #define | RTMPTAB_SUSP2 3 |
| #define | RTMPTAB_BAD 4 |
| #define | RTMPTAB_ZIPQUERY 0x01 |
| #define | RTMPTAB_HASZONES 0x02 |
| #define | RTMPTAB_EXTENDED 0x04 |
| #define | RTMPTAB_ROUTE 0x08 |
| #define | RTMP_ADD SIOCADDRT |
| #define | RTMP_DEL SIOCDELRT |
| #define | STARTUP_FIRSTNET 0xff00 |
| #define | STARTUP_LASTNET 0xfffe |
| #define | OS_STARTUP_FIRSTNET 0 |
Functions | |
| struct rtmptab * | newrt (const struct interface *) |
| void | rtmp_delzonemap (struct rtmptab *) |
| int | rtmp_request (struct interface *) |
| void | rtmp_free (struct rtmptab *) |
| int | rtmp_replace (struct rtmptab **) |
| Find a replacement for the structure pointed to by "replace_ptr". | |
| int | looproute (struct interface *, unsigned int) |
| int | gateroute (unsigned int, struct rtmptab *) |
| int | rtmp_packet (struct atport *ap, struct sockaddr_at *from, char *data, int len) |
Variables | |
| int | rtfd |
| #define OS_STARTUP_FIRSTNET 0 |
| #define RTMP_ADD SIOCADDRT |
| #define RTMP_DEL SIOCDELRT |
| #define RTMPTAB_BAD 4 |
| #define RTMPTAB_EXTENDED 0x04 |
| #define RTMPTAB_GOOD 1 |
| #define RTMPTAB_HASZONES 0x02 |
| #define RTMPTAB_PERM 0 |
| #define RTMPTAB_ROUTE 0x08 |
| #define RTMPTAB_SUSP1 2 |
| #define RTMPTAB_SUSP2 3 |
| #define RTMPTAB_ZIPQUERY 0x01 |
| #define STARTUP_FIRSTNET 0xff00 |
| #define STARTUP_LASTNET 0xfffe |
| #define SZ_RTMPTUPLE 3 |
| int gateroute | ( | unsigned int | command, |
| struct rtmptab * | rtmp ) |
| int looproute | ( | struct interface * | iface, |
| unsigned int | cmd ) |
| void rtmp_delzonemap | ( | struct rtmptab * | rtmp | ) |
| void rtmp_free | ( | struct rtmptab * | rtmp | ) |
Remove rtmp from the in-use table and the per-gate table. Free any associated space.
| int rtmp_packet | ( | struct atport * | ap, |
| struct sockaddr_at * | from, | ||
| char * | data, | ||
| int | len ) |
| int rtmp_replace | ( | struct rtmptab ** | replace_ptr | ) |
Find a replacement for the structure pointed to by "replace_ptr".
| int rtmp_request | ( | struct interface * | iface | ) |
|
extern |