decoders/decode_icmp.c File Reference

#include "decode_icmp.h"
#include "decode_ip.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 * DecodeICMP (int PacketSlot)
int InitDecoderICMP ()

Variables

GlobalVars Globals
int IPDecoderID


Function Documentation

void* DecodeICMP ( int  PacketSlot  ) 

Definition at line 17 of file decode_icmp.c.

References packet_rec::BeginData, icmp_header::code, DEBUGPATH, GetDataByID(), Globals, icmp_data::Header, IP_PROTO_ICMP, IPDecoderID, NULL, global_vars::Packets, packet_rec::RawPacket, and icmp_header::type.

Referenced by InitDecoderICMP().

int InitDecoderICMP (  ) 

Definition at line 59 of file decode_icmp.c.

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

Referenced by InitDecoders().


Variable Documentation

GlobalVars Globals

Definition at line 41 of file hlbr.c.

int IPDecoderID

Definition at line 12 of file decode_icmp.c.


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