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