decoders/decode_tcp_stream.c File Reference

#include "decode_tcp_stream.h"
#include "decode_tcp.h"
#include "../packets/packet.h"
#include "../engine/session.h"
#include <stdio.h>
#include <stdlib.h>
#include <netinet/in.h>

Go to the source code of this file.

Defines

#define DEBUG

Functions

void * DecodeTCPStream (int PacketSlot)
int InitDecoderTCPStream ()

Variables

GlobalVars Globals
int TCPDecoderID


Define Documentation

#define DEBUG

Definition at line 9 of file decode_tcp_stream.c.


Function Documentation

void* DecodeTCPStream ( int  PacketSlot  ) 

Definition at line 18 of file decode_tcp_stream.c.

References tcp_stream_data::DPort, GetDataByID(), Globals, NULL, global_vars::Packets, packet_rec::PacketSlot, tcp_stream_data::SPort, and TCPDecoderID.

Referenced by InitDecoderTCPStream().

int InitDecoderTCPStream (  ) 

Definition at line 76 of file decode_tcp_stream.c.

References CreateDecoder(), decoder_rec::DecodeFunc, DECODER_NONE, DecoderAddDecoder(), global_vars::Decoders, DecodeTCPStream(), FALSE, GetDecoderByName(), Globals, TCPDecoderID, and TRUE.


Variable Documentation

GlobalVars Globals

Definition at line 41 of file hlbr.c.

int TCPDecoderID

Definition at line 13 of file decode_tcp_stream.c.

Referenced by DecodeTCPStream(), HandleIPPacket(), InitDecoderTCPStream(), InitRouteBNS(), InitSession(), InitTestTCPContent(), InitTestTCPDst(), InitTestTCPFlags(), InitTestTCPListContent(), InitTestTCPListNoCase(), InitTestTCPNoCase(), InitTestTCPOffset(), InitTestTCPPort(), InitTestTCPRegExp(), InitTestTCPSrc(), ProcessPacket(), TestTCPDst(), TestTCPDstOld(), TestTCPFlags(), TestTCPOffset(), TestTCPPort(), and TestTCPSrc().


Generated on Sat Jul 7 23:33:10 2007 for HLBR by  doxygen 1.5.2