#include "route_arp.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "../packets/packet.h"
#include "../engine/num_list.h"
#include "../decoders/decode_arp.h"
#include <arpa/inet.h>
#include <netinet/in.h>
Go to the source code of this file.
Functions | |
int | RouteARP (int PacketSlot) |
int | RouteARPAddNode (int RouteID, char *Args) |
int | InitRouteARP () |
Variables | |
int | ARPDecoderID |
GlobalVars | Globals |
int InitRouteARP | ( | ) |
Definition at line 75 of file route_arp.c.
References route_rec::AddNode, CreateRoute(), FALSE, Globals, ROUTE_NONE, RouteARP(), RouteARPAddNode(), route_rec::RouteFunc, global_vars::Routes, and TRUE.
Referenced by InitRoutes().
int RouteARP | ( | int | PacketSlot | ) |
Definition at line 20 of file route_arp.c.
References ARP_OP_REPLY, ARP_OP_REQUEST, ARPDecoderID, GetDataByID(), Globals, INTERFACE_BROADCAST, global_vars::Packets, ROUTE_RESULT_CONTINUE, ROUTE_RESULT_DONE, and packet_rec::TargetInterface.
Referenced by InitRouteARP().
int RouteARPAddNode | ( | int | RouteID, | |
char * | Args | |||
) |
int ARPDecoderID |
Definition at line 11 of file route_arp.c.
Referenced by InitRouteBNS(), InitRouteSIP(), RouteARP(), RouteBNS(), and RouteSIP().