Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

icmp.c File Reference

#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 icmp_usage (void)
int icmp_main (int argc, char *argv[])

Variables

mod mod_icmp


Function Documentation

int icmp_main int  argc,
char *  argv[]
 

Definition at line 31 of file icmp.c.

References err(), ICMP_ECHO, ICMP_HDR_LEN, icmp_usage(), IP_LEN_MAX, and memset.

void icmp_usage void   ) 
 

Definition at line 24 of file icmp.c.

Referenced by icmp_main().


Variable Documentation

struct mod mod_icmp
 

Initial value:

 {
        "icmp",
        MOD_TYPE_ENCAP,
        icmp_main
}

Definition at line 78 of file icmp.c.


Generated on Sun May 14 14:51:22 2006 by  doxygen 1.4.2