netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
tcp_sock Struct Reference

#include <tcp.h>

Collaboration diagram for tcp_sock:

Data Fields

int state
 
int fd
 
int client_fd
 
union {
   struct sockaddr_in   ipv4
 
   struct sockaddr_in6   ipv6
 
addr
 
socklen_t sockaddr_len
 
struct tcp_stats stats
 
struct tcp_confconf
 

Field Documentation

union { ... } tcp_sock::addr
int tcp_sock::client_fd

Referenced by tcp_accept(), tcp_isset(), and tcp_recv().

struct tcp_conf* tcp_sock::conf
struct sockaddr_in tcp_sock::ipv4

Referenced by tcp_server_create().

struct sockaddr_in6 tcp_sock::ipv6

Referenced by tcp_server_create().

socklen_t tcp_sock::sockaddr_len

Referenced by tcp_send(), and tcp_server_create().

int tcp_sock::state
struct tcp_stats tcp_sock::stats

The documentation for this struct was generated from the following file: