ucspi-tcp6 1.13.02
ucspi-tcp6
Loading...
Searching...
No Matches
Macros | Functions | Variables
tcprules.c File Reference
#include <unistd.h>
#include "logmsg.h"
#include "stralloc.h"
#include "getln.h"
#include "buffer.h"
#include "exit.h"
#include "fmt.h"
#include "byte.h"
#include "cdbmake.h"
#include "ip.h"
#include "scan.h"
#include "open.h"
#include "ip_bit.h"
Include dependency graph for tcprules.c:

Go to the source code of this file.

Macros

#define WHO   "tcprules"
 

Functions

int rename (const char *, const char *)
 
void nomem (void)
 
void usage (void)
 
void die_bad (void)
 
void die_write (void)
 
void die_length (void)
 
void die_ip (void)
 
void die_ip4c (void)
 
void die_ip6 (void)
 
void die_ip6c (void)
 
void getnum (char *buf, int len, unsigned long *u)
 
void doaddressdata (void)
 
int main (int argc, char *const *argv)
 

Variables

unsigned long linenum = 0
 
char * fntemp
 
char * fn
 
stralloc line = {0}
 
int match = 1
 
stralloc address = {0}
 
stralloc ipstring = {0}
 
stralloc data = {0}
 
stralloc key = {0}
 
struct cdb_make c
 

Macro Definition Documentation

◆ WHO

#define WHO   "tcprules"

Definition at line 15 of file tcprules.c.

Function Documentation

◆ die_bad()

void die_bad ( void  )

Definition at line 41 of file tcprules.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ die_ip()

void die_ip ( void  )

Definition at line 55 of file tcprules.c.

Here is the call graph for this function:

◆ die_ip4c()

void die_ip4c ( void  )

Definition at line 59 of file tcprules.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ die_ip6()

void die_ip6 ( void  )

Definition at line 63 of file tcprules.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ die_ip6c()

void die_ip6c ( void  )

Definition at line 67 of file tcprules.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ die_length()

void die_length ( void  )

Definition at line 50 of file tcprules.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ die_write()

void die_write ( void  )

Definition at line 46 of file tcprules.c.

Here is the caller graph for this function:

◆ doaddressdata()

void doaddressdata ( void  )

Definition at line 81 of file tcprules.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getnum()

void getnum ( char *  buf,
int  len,
unsigned long *  u 
)

Definition at line 75 of file tcprules.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *const *  argv 
)

Definition at line 188 of file tcprules.c.

Here is the call graph for this function:

◆ nomem()

void nomem ( void  )

Definition at line 33 of file tcprules.c.

Here is the caller graph for this function:

◆ rename()

int rename ( const char *  ,
const char *   
)
Here is the caller graph for this function:

◆ usage()

void usage ( void  )

Definition at line 37 of file tcprules.c.

Here is the caller graph for this function:

Variable Documentation

◆ address

stralloc address = {0}

Definition at line 26 of file tcprules.c.

◆ c

struct cdb_make c

Definition at line 31 of file tcprules.c.

◆ data

stralloc data = {0}

Definition at line 28 of file tcprules.c.

◆ fn

char* fn

Definition at line 21 of file tcprules.c.

◆ fntemp

char* fntemp

Definition at line 20 of file tcprules.c.

◆ ipstring

stralloc ipstring = {0}

Definition at line 27 of file tcprules.c.

◆ key

stralloc key = {0}

Definition at line 29 of file tcprules.c.

◆ line

stralloc line = {0}

Definition at line 23 of file tcprules.c.

◆ linenum

unsigned long linenum = 0

Definition at line 19 of file tcprules.c.

◆ match

int match = 1

Definition at line 24 of file tcprules.c.