#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 |
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().
int IPDecoderID |
Definition at line 12 of file decode_udp.c.