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