OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
ip.c File Reference
#include "tunala.h"

Go to the source code of this file.

Macros

#define IP_LISTENER_BACKLOG
 

Functions

int ip_initialise (void)
 
int ip_create_listener_split (const char *ip, unsigned short port)
 
int ip_create_connection_split (const char *ip, unsigned short port)
 
int ip_parse_address (const char *address, const char **parsed_ip, unsigned short *parsed_port, int accept_all_ip)
 
int ip_create_listener (const char *address)
 
int ip_create_connection (const char *address)
 
int ip_accept_connection (int listen_fd)
 

Macro Definition Documentation

#define IP_LISTENER_BACKLOG
Value:
511 /* So if it gets masked by 256 or some other
such value it'll still be respectable */

Definition at line 5 of file ip.c.

Function Documentation

int ip_accept_connection ( int  listen_fd)

Definition at line 139 of file ip.c.

int ip_create_connection ( const char *  address)

Definition at line 129 of file ip.c.

int ip_create_connection_split ( const char *  ip,
unsigned short  port 
)

Definition at line 50 of file ip.c.

int ip_create_listener ( const char *  address)

Definition at line 119 of file ip.c.

int ip_create_listener_split ( const char *  ip,
unsigned short  port 
)

Definition at line 20 of file ip.c.

int ip_initialise ( void  )

Definition at line 8 of file ip.c.

int ip_parse_address ( const char *  address,
const char **  parsed_ip,
unsigned short *  parsed_port,
int  accept_all_ip 
)

Definition at line 80 of file ip.c.