ip_pair Struct Reference

#include <session.h>


Data Fields

unsigned int IP1
unsigned int IP2
unsigned int NumAllocated
unsigned int NumPorts
PP ** Ports
ip_binParent
unsigned char RefuseFromThisIP: 1


Detailed Description

Struct that represents the two IPs in a session (?). The two IPs are supposed to be server/client IPs. This struct doesn't hold info about the actual session, only about the source/destination. Info about the session lies in the struct port_pair.
See also:
port_pair

Definition at line 137 of file session.h.


Field Documentation

unsigned int ip_pair::IP1

Definition at line 138 of file session.h.

Referenced by FindIPPair(), FindPortPair(), PrintSessionBuffer(), and RemovePort().

unsigned int ip_pair::IP2

Definition at line 139 of file session.h.

Referenced by FindIPPair(), FindPortPair(), PrintSessionBuffer(), and RemovePort().

unsigned int ip_pair::NumAllocated

Definition at line 140 of file session.h.

Referenced by FindIPPair(), and FindPortPair().

unsigned int ip_pair::NumPorts

Definition at line 141 of file session.h.

Referenced by FindIPPair(), FindPortPair(), and RemovePort().

PP** ip_pair::Ports

Definition at line 142 of file session.h.

Referenced by FindPortPair(), and RemovePort().

struct ip_bin* ip_pair::Parent [read]

Definition at line 143 of file session.h.

Referenced by FindIPPair(), and RemovePort().

unsigned char ip_pair::RefuseFromThisIP

Refuse any sessions from IP1 in the future

Definition at line 145 of file session.h.

Referenced by FindIPPair().


The documentation for this struct was generated from the following file:
Generated on Sat Jul 7 23:33:11 2007 for HLBR by  doxygen 1.5.2