#include "../config.h"
#include "../engine/hlbr.h"
#include "decode.h"
Go to the source code of this file.
Data Structures | |
struct | arp_header |
struct | arp_ether_ip |
struct | arp_data |
Defines | |
#define | ARP_TYPE_ETHERNET 0x0001 |
#define | ARP_TYPE_IP 0x0800 |
#define | ARP_OP_REQUEST 0x0001 |
#define | ARP_OP_REPLY 0x0002 |
Typedefs | |
typedef arp_header | ARPHdr |
typedef arp_ether_ip | ARPEtherIP |
typedef arp_data | ARPData |
Functions | |
int | InitDecoderARP () |
#define ARP_OP_REPLY 0x0002 |
Definition at line 12 of file decode_arp.h.
Referenced by DecodeARP(), HandleARPPacket(), RouteARP(), and RouteSIP().
#define ARP_OP_REQUEST 0x0001 |
Definition at line 11 of file decode_arp.h.
Referenced by DecodeARP(), HandleARPPacket(), RouteARP(), and SendARP().
#define ARP_TYPE_ETHERNET 0x0001 |
#define ARP_TYPE_IP 0x0800 |
typedef struct arp_ether_ip ARPEtherIP |
typedef struct arp_header ARPHdr |
int InitDecoderARP | ( | ) |
Set up the ARP decoder.
Definition at line 102 of file decode_arp.c.
References decoder_rec::Active, CreateDecoder(), DEBUGPATH, DecodeARP(), decoder_rec::DecodeFunc, DECODER_NONE, DecoderAddDecoder(), global_vars::Decoders, EthernetDecoderID, FALSE, GetDecoderByName(), Globals, PRINTERROR, and TRUE.
Referenced by InitDecoders().