#include "config.h"#include <sys/types.h>#include <err.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <unistd.h>#include "dnet.h"#include "aton.h"#include "mod.h"Go to the source code of this file.
Functions | |
| void | arp_usage (void) |
| static int | print_arp (const struct arp_entry *entry, void *arg) |
| static int | arp_kern_main (int argc, char *argv[]) |
| int | arp_main (int argc, char *argv[]) |
Variables | |
| mod | mod_arp |
|
||||||||||||
|
Definition at line 44 of file arp.c. References addr_ntoa(), addr_pton(), arp_add(), arp_close(), arp_delete(), arp_get(), arp_entry::arp_ha, arp_loop(), arp_open(), arp_entry::arp_pa, arp_usage(), err(), NULL, and print_arp(). Referenced by arp_main(). |
|
||||||||||||
|
Definition at line 89 of file arp.c. References addr_aton, arp_hdr::ar_hln, arp_hdr::ar_hrd, arp_hdr::ar_op, arp_hdr::ar_pln, arp_hdr::ar_pro, ARP_ETHIP_LEN, ARP_HDR_LEN, ARP_HRD_ETH, arp_kern_main(), ARP_OP_REQUEST, ARP_PRO_IP, arp_usage(), err(), ETH_ADDR_LEN, ETH_MTU, IP_ADDR_LEN, memcpy, memset, NULL, and op_aton(). |
|
|
Definition at line 25 of file arp.c. Referenced by arp_kern_main(), and arp_main(). |
|
||||||||||||
|
Definition at line 36 of file arp.c. References addr_ntoa(), arp_entry::arp_ha, and arp_entry::arp_pa. Referenced by arp_kern_main(). |
|
|
Initial value: {
"arp",
MOD_TYPE_ENCAP|MOD_TYPE_KERN,
arp_main
}
|
1.4.2