decoders/decode_ethernet.h File Reference

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

Go to the source code of this file.

Data Structures

struct  ethernet_header
struct  ethernet_data

Defines

#define ETHERNET_TYPE_IP   0x0800
#define ETHERNET_TYPE_ARP   0x0806

Typedefs

typedef ethernet_header EtherHdr
typedef ethernet_data EthernetData

Functions

int InitDecoderEthernet ()


Define Documentation

#define ETHERNET_TYPE_ARP   0x0806

Definition at line 9 of file decode_ethernet.h.

Referenced by DecodeARP(), EthernetTypeAddNode(), and SendARP().

#define ETHERNET_TYPE_IP   0x0800

Definition at line 8 of file decode_ethernet.h.

Referenced by DecodeIP(), and EthernetTypeAddNode().


Typedef Documentation

typedef struct ethernet_header EtherHdr

typedef struct ethernet_data EthernetData


Function Documentation

int InitDecoderEthernet (  ) 

Definition at line 45 of file decode_ethernet.c.

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

Referenced by InitDecoders().


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