#include <sys/types.h>#include <sys/socket.h>#include <syslog.h>#include <sys/param.h>#include <sys/mbuf.h>#include <sys/time.h>#include <sys/kernel.h>#include <net/if.h>#include <net/route.h>#include <net/af.h>#include <netinet/in.h>#include <netinet/if_ether.h>#include "at.h"#include "at_var.h"#include "aarp.h"#include "ddp_var.h"#include "phase2.h"Macros | |
| #define | AARPTAB_BSIZ 9 |
| #define | AARPTAB_NB 19 |
| #define | AARPTAB_SIZE (AARPTAB_BSIZ * AARPTAB_NB) |
| #define | AARPTAB_HASH(a) |
| #define | AARPTAB_LOOK(aat, addr) |
| #define | AARPT_AGE (60 * 1) |
| #define | AARPT_KILLC 20 |
| #define | AARPT_KILLI 3 |
Functions | |
| void | aarptimer (void) |
| struct ifaddr * | at_ifawithnet (struct sockaddr_at *sat, struct ifaddr *ifa) |
| void | aarpwhohas (struct arpcom *ac, struct sockaddr_at *sat) |
| int | aarpresolve (struct arpcom *ac, struct mbuf *m, struct sockaddr_at *destsat, unsigned char *desten) |
| void | aarpinput (struct arpcom *ac, struct mbuf *m) |
| void | at_aarpinput (struct arpcom *ac, struct mbuf *m) |
| void | aarptfree (struct aarptab *aat) |
| struct aarptab * | aarptnew (struct at_addr *addr) |
| void | aarpprobe (struct arpcom *ac) |
| void | aarp_clean (void) |
Variables | |
| struct aarptab | aarptab [AARPTAB_SIZE] |
| int | aarptab_size = AARPTAB_SIZE |
| unsigned char | etherbroadcastaddr [6] |
| unsigned char | atmulticastaddr [6] |
| unsigned char | at_org_code [3] |
| unsigned char | aarp_org_code [3] |
| #define AARPT_AGE (60 * 1) |
| #define AARPT_KILLC 20 |
| #define AARPT_KILLI 3 |
| #define AARPTAB_BSIZ 9 |
| #define AARPTAB_HASH | ( | a | ) |
| #define AARPTAB_LOOK | ( | aat, | |
| addr ) |
| #define AARPTAB_NB 19 |
| #define AARPTAB_SIZE (AARPTAB_BSIZ * AARPTAB_NB) |
| void aarp_clean | ( | void | ) |
| void aarpinput | ( | struct arpcom * | ac, |
| struct mbuf * | m ) |
| void aarpprobe | ( | struct arpcom * | ac | ) |
| int aarpresolve | ( | struct arpcom * | ac, |
| struct mbuf * | m, | ||
| struct sockaddr_at * | destsat, | ||
| unsigned char * | desten ) |
| void aarptfree | ( | struct aarptab * | aat | ) |
| void aarptimer | ( | void | ) |
| void aarpwhohas | ( | struct arpcom * | ac, |
| struct sockaddr_at * | sat ) |
| void at_aarpinput | ( | struct arpcom * | ac, |
| struct mbuf * | m ) |
| struct ifaddr * at_ifawithnet | ( | struct sockaddr_at * | sat, |
| struct ifaddr * | ifa ) |
| unsigned char aarp_org_code[3] |
| struct aarptab aarptab[AARPTAB_SIZE] |
| int aarptab_size = AARPTAB_SIZE |
| unsigned char at_org_code[3] |
| unsigned char atmulticastaddr[6] |
|
extern |