#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 | ip_usage (void) |
int | ip_main (int argc, char *argv[]) |
Variables | |
mod | mod_ip |
|
Definition at line 33 of file ip.c. References addr_aton, err(), errx(), ip_checksum(), ip_hdr::ip_dst, IP_HDR_LEN, ip_hdr::ip_hl, ip_hdr::ip_id, ip_hdr::ip_len, IP_LEN_MAX, ip_hdr::ip_off, ip_hdr::ip_p, ip_hdr::ip_src, ip_hdr::ip_sum, ip_hdr::ip_tos, ip_hdr::ip_ttl, IP_TTL_MAX, ip_usage(), ip_hdr::ip_v, NULL, off_aton(), and proto_aton(). |
|
Definition at line 25 of file ip.c. Referenced by ip_main(). |
|
Initial value: { "ip", MOD_TYPE_ENCAP, ip_main } |