decoders/decode_ip.h File Reference

#include "../config.h"
#include "../engine/hlbr.h"
#include "decode.h"

Go to the source code of this file.

Data Structures

struct  ip_header
struct  ip_data

Defines

#define IP_PROTO_ICMP   1
#define IP_PROTO_TCP   6
#define IP_PROTO_UDP   17

Typedefs

typedef ip_header IPHdr
typedef ip_data IPData

Functions

int InitDecoderIP ()


Define Documentation

#define IP_PROTO_ICMP   1

Definition at line 8 of file decode_ip.h.

Referenced by DecodeICMP(), and IPProtoAddNode().

#define IP_PROTO_TCP   6

Definition at line 9 of file decode_ip.h.

Referenced by ApplyMessage(), DecodeTCP(), and IPProtoAddNode().

#define IP_PROTO_UDP   17

Definition at line 10 of file decode_ip.h.

Referenced by ApplyMessage(), DecodeUDP(), and IPProtoAddNode().


Typedef Documentation

typedef struct ip_data IPData

typedef struct ip_header IPHdr


Function Documentation

int InitDecoderIP (  ) 

Definition at line 61 of file decode_ip.c.

References CreateDecoder(), DEBUGPATH, decoder_rec::DecodeFunc, DecodeIP(), DECODER_NONE, DecoderAddDecoder(), global_vars::Decoders, EthernetDecoderID, FALSE, GetDecoderByName(), Globals, and TRUE.

Referenced by InitDecoders().


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