#include "config.h"#include <sys/types.h>#include <err.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "dnet.h"#include "aton.h"#include "mod.h"Go to the source code of this file.
Functions | |
| void | eth_usage (void) |
| int | eth_main (int argc, char *argv[]) |
Variables | |
| mod | mod_eth |
|
||||||||||||
|
Definition at line 31 of file eth.c. References addr_aton, err(), errx(), ETH_ADDR_LEN, ETH_HDR_LEN, ETH_LEN_MAX, ETH_TYPE_IP, eth_usage(), memcpy, memset, and type_aton(). |
|
|
Definition at line 24 of file eth.c. Referenced by eth_main(). |
|
|
Initial value: {
"eth",
MOD_TYPE_ENCAP,
eth_main
}
|
1.4.2