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

tcp.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 tcp_usage (void)
int tcp_main (int argc, char *argv[])

Variables

mod mod_tcp


Function Documentation

int tcp_main int  argc,
char *  argv[]
 

Definition at line 33 of file tcp.c.

References err(), flags_aton(), IP_LEN_MAX, memset, NULL, port_aton(), seq_aton(), TCP_HDR_LEN, tcp_usage(), TCP_WIN_MAX, and TH_SYN.

void tcp_usage void   ) 
 

Definition at line 25 of file tcp.c.

Referenced by tcp_main().


Variable Documentation

struct mod mod_tcp
 

Initial value:

 {
        "tcp",
        MOD_TYPE_ENCAP,
        &tcp_main
}

Definition at line 105 of file tcp.c.


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