port_pair Struct Reference

#include <session.h>


Data Fields

unsigned int SessionID
unsigned short Port1
unsigned short Port2
ip_pairParent
long int FirstTime
long int LastTime
unsigned char Direction
unsigned char Error
unsigned short TCPCount
unsigned short UDPCount
unsigned short ICMPCount
unsigned short OtherCount
unsigned char ServerState
unsigned int ServerSeq
unsigned int ServerAck
unsigned char ServerFin
unsigned char ClientState
unsigned int ClientSeq
unsigned int ClientAck
unsigned char ClientFin
port_pairTimeNext
port_pairTimePrev
tcp_streamStream0
tcp_streamStream1
char noreassemble


Detailed Description

Struct that represents the actual session. Holds the source/dest ports, a pointer to the ip_pair struct, and other info about the session (packet counts, connection state etc.)
See also:
ip_pair

Definition at line 82 of file session.h.


Field Documentation

unsigned int port_pair::SessionID

Definition at line 83 of file session.h.

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

unsigned short port_pair::Port1

Definition at line 84 of file session.h.

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

unsigned short port_pair::Port2

Definition at line 85 of file session.h.

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

struct ip_pair* port_pair::Parent [read]

Definition at line 86 of file session.h.

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

long int port_pair::FirstTime

Definition at line 88 of file session.h.

Referenced by FindPortPair().

long int port_pair::LastTime

Definition at line 89 of file session.h.

Referenced by FindPortPair(), and TimeoutSessions().

unsigned char port_pair::Direction

Definition at line 90 of file session.h.

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

unsigned char port_pair::Error

Definition at line 92 of file session.h.

Referenced by AssignSessionTCP().

unsigned short port_pair::TCPCount

Definition at line 101 of file session.h.

Referenced by AssignSessionTCP(), FindPortPair(), PrintSessionSummary(), and RemovePort().

unsigned short port_pair::UDPCount

Definition at line 102 of file session.h.

unsigned short port_pair::ICMPCount

Definition at line 103 of file session.h.

unsigned short port_pair::OtherCount

Definition at line 104 of file session.h.

unsigned char port_pair::ServerState

Definition at line 106 of file session.h.

Referenced by AssignSessionTCP().

unsigned int port_pair::ServerSeq

Definition at line 107 of file session.h.

Referenced by AssignSessionTCP().

unsigned int port_pair::ServerAck

Definition at line 108 of file session.h.

Referenced by AssignSessionTCP().

unsigned char port_pair::ServerFin

Definition at line 109 of file session.h.

Referenced by AssignSessionTCP().

unsigned char port_pair::ClientState

Definition at line 110 of file session.h.

Referenced by AssignSessionTCP().

unsigned int port_pair::ClientSeq

Definition at line 111 of file session.h.

Referenced by AssignSessionTCP().

unsigned int port_pair::ClientAck

Definition at line 112 of file session.h.

Referenced by AssignSessionTCP().

unsigned char port_pair::ClientFin

Definition at line 113 of file session.h.

struct port_pair* port_pair::TimeNext [read]

These two fields (TimeNext and TimePrev) are used to track port_pair structs that are in the "time list".

See also:
AddToTime

UpdateTime

TimeoutSessions

Definition at line 121 of file session.h.

Referenced by AddToTime(), RemovePort(), TimeoutSessions(), and UpdateTime().

struct port_pair* port_pair::TimePrev [read]

Definition at line 122 of file session.h.

Referenced by AddToTime(), RemovePort(), and UpdateTime().

struct tcp_stream* port_pair::Stream0 [read]

Definition at line 125 of file session.h.

Referenced by AssignSessionTCP(), PrintSessionBuffer(), and RemovePort().

struct tcp_stream* port_pair::Stream1 [read]

Definition at line 126 of file session.h.

Referenced by AssignSessionTCP(), PrintSessionBuffer(), and RemovePort().

char port_pair::noreassemble

Definition at line 127 of file session.h.

Referenced by AssignSessionTCP().


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