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

udp.c File Reference

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

Variables

mod mod_udp


Function Documentation

int udp_main int  argc,
char *  argv[]
 

Definition at line 32 of file udp.c.

References err(), IP_LEN_MAX, memset, NULL, port_aton(), UDP_HDR_LEN, and udp_usage().

void udp_usage void   ) 
 

Definition at line 25 of file udp.c.

Referenced by udp_main().


Variable Documentation

struct mod mod_udp
 

Initial value:

 {
        "udp",
        MOD_TYPE_ENCAP,
        udp_main
}

Definition at line 84 of file udp.c.


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