decoders/decode_ethernet.c File Reference

#include "decode_ethernet.h"
#include "decode_interface.h"
#include "../packets/packet.h"
#include <stdio.h>
#include <stdlib.h>
#include <netinet/in.h>

Go to the source code of this file.

Functions

void * DecodeEthernet (int PacketSlot)
int InitDecoderEthernet ()

Variables

GlobalVars Globals


Function Documentation

void* DecodeEthernet ( int  PacketSlot  ) 

Definition at line 15 of file decode_ethernet.c.

References packet_rec::BeginData, decoder_data::Data, DEBUGPATH, packet_rec::DecoderInfo, Globals, ethernet_data::Header, NULL, PACKET_PROTO_ETHERNET, global_vars::Packets, interface_rec::Proto, and packet_rec::RawPacket.

Referenced by InitDecoderEthernet().

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().


Variable Documentation

GlobalVars Globals

Definition at line 41 of file hlbr.c.


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