decoders/decode_udp.c File Reference

#include "decode_udp.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 * DecodeUDP (int PacketSlot)
int InitDecoderUDP ()

Variables

GlobalVars Globals
int IPDecoderID


Function Documentation

void* DecodeUDP ( int  PacketSlot  ) 

Definition at line 17 of file decode_udp.c.

References packet_rec::BeginData, DEBUGPATH, udp_header::dest, GetDataByID(), Globals, udp_data::Header, IP_PROTO_UDP, IPDecoderID, NULL, global_vars::Packets, packet_rec::RawPacket, and udp_header::source.

Referenced by InitDecoderUDP().

int InitDecoderUDP (  ) 

Definition at line 59 of file decode_udp.c.

References CreateDecoder(), DEBUGPATH, decoder_rec::DecodeFunc, DECODER_NONE, DecoderAddDecoder(), global_vars::Decoders, DecodeUDP(), 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_udp.c.


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