conn_type Struct Reference

#include <libnuclient.h>

Collaboration diagram for conn_type:

Collaboration graph
[legend]

Data Fields

unsigned int protocol
in6_addr ip_src
unsigned short port_src
in6_addr ip_dst
unsigned short port_dst
unsigned long uid
unsigned long inode
unsigned int retransmit
time_t createtime
conn_typenext

Detailed Description

This structure holds everything we need to know about a connection.

We use unsigned int and long (instead of exact type) to make hashing easier.

See also:
conn_t

Definition at line 130 of file libnuclient.h.


Field Documentation

time_t conn_type::createtime

Creation time (Epoch format)

Definition at line 139 of file libnuclient.h.

Referenced by compare(), and tcptable_add().

unsigned long conn_type::inode

Inode

Definition at line 137 of file libnuclient.h.

struct in6_addr conn_type::ip_dst

Remote address IPv4

Definition at line 134 of file libnuclient.h.

Referenced by tcptable_find(), tcptable_hash(), and tcptable_read().

struct in6_addr conn_type::ip_src

Local address IPv4

Definition at line 132 of file libnuclient.h.

Referenced by tcptable_find(), tcptable_hash(), and tcptable_read().

struct conn_type* conn_type::next

Pointer to next connection (NULL if it's as the end)

Definition at line 142 of file libnuclient.h.

Referenced by compare(), tcptable_add(), tcptable_find(), and tcptable_free().

unsigned short conn_type::port_dst

Remote address port

Definition at line 135 of file libnuclient.h.

Referenced by tcptable_find(), tcptable_hash(), and tcptable_read().

unsigned short conn_type::port_src

Local address port

Definition at line 133 of file libnuclient.h.

Referenced by tcptable_find(), tcptable_hash(), and tcptable_read().

unsigned int conn_type::protocol

IPv4 protocol

Definition at line 131 of file libnuclient.h.

Referenced by tcptable_find(), and tcptable_read().

unsigned int conn_type::retransmit

Retransmit

Definition at line 138 of file libnuclient.h.

Referenced by compare().

unsigned long conn_type::uid

User identifier

Definition at line 136 of file libnuclient.h.


The documentation for this struct was generated from the following file:
Generated on Sat Nov 22 04:01:05 2008 for NuFW by  doxygen 1.4.7