ucspi-tcp6 1.13.02
ucspi-tcp6
Loading...
Searching...
No Matches
Macros | Functions | Variables
tcpclient.c File Reference
#include <unistd.h>
#include <sys/param.h>
#include <netdb.h>
#include <netinet/in.h>
#include "sig.h"
#include "exit.h"
#include "getoptb.h"
#include "uint_t.h"
#include "fmt.h"
#include "scan.h"
#include "str.h"
#include "ip.h"
#include "socket_if.h"
#include "fd.h"
#include "stralloc.h"
#include "buffer.h"
#include "error.h"
#include "logmsg.h"
#include "pathexec.h"
#include "timeout.h"
#include "timeoutconn.h"
#include "dnsresolv.h"
#include "byte.h"
#include "remoteinfo.h"
Include dependency graph for tcpclient.c:

Go to the source code of this file.

Macros

#define WHO   "tcpclient"
 

Functions

void nomem (void)
 
void usage (void)
 
int main (int argc, char *const *argv)
 

Variables

int verbosity = 1
 
int flagdelay = 1
 
int flagremoteinfo = 1
 
int flagremotehost = 1
 
unsigned long itimeout = 26
 
unsigned long ctimeout [2] = {2, 58}
 
uint32 netif = 0
 
char iplocal [16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0}
 
uint16 portlocal = 0
 
char * forcelocal = 0
 
char ipremote [16]
 
uint16 portremote
 
const char * hostname
 
const char * loopback = "127.0.0.1"
 
char seed [128]
 

Macro Definition Documentation

◆ WHO

#define WHO   "tcpclient"

Definition at line 26 of file tcpclient.c.

Function Documentation

◆ main()

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

Definition at line 72 of file tcpclient.c.

Here is the call graph for this function:

◆ nomem()

void nomem ( void  )

Definition at line 28 of file tcpclient.c.

Here is the caller graph for this function:

◆ usage()

void usage ( void  )

Definition at line 32 of file tcpclient.c.

Here is the caller graph for this function:

Variable Documentation

◆ ctimeout

unsigned long ctimeout[2] = {2, 58}

Definition at line 50 of file tcpclient.c.

◆ flagdelay

int flagdelay = 1

Definition at line 46 of file tcpclient.c.

◆ flagremotehost

int flagremotehost = 1

Definition at line 48 of file tcpclient.c.

◆ flagremoteinfo

int flagremoteinfo = 1

Definition at line 47 of file tcpclient.c.

◆ forcelocal

char* forcelocal = 0

Definition at line 55 of file tcpclient.c.

◆ hostname

const char* hostname

Definition at line 60 of file tcpclient.c.

◆ iplocal

char iplocal[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0}

Definition at line 53 of file tcpclient.c.

◆ ipremote

char ipremote[16]

Definition at line 57 of file tcpclient.c.

◆ itimeout

unsigned long itimeout = 26

Definition at line 49 of file tcpclient.c.

◆ loopback

const char* loopback = "127.0.0.1"

Definition at line 61 of file tcpclient.c.

◆ netif

uint32 netif = 0

Definition at line 51 of file tcpclient.c.

◆ portlocal

uint16 portlocal = 0

Definition at line 54 of file tcpclient.c.

◆ portremote

uint16 portremote

Definition at line 58 of file tcpclient.c.

◆ seed

char seed[128]

Definition at line 70 of file tcpclient.c.

◆ verbosity

int verbosity = 1

Definition at line 45 of file tcpclient.c.