routes/route_arp.c File Reference

#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


Function Documentation

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 
)

Definition at line 63 of file route_arp.c.

References TRUE.

Referenced by InitRouteARP().


Variable Documentation

int ARPDecoderID

Definition at line 11 of file route_arp.c.

Referenced by InitRouteBNS(), InitRouteSIP(), RouteARP(), RouteBNS(), and RouteSIP().

GlobalVars Globals

Definition at line 41 of file hlbr.c.


Generated on Sat Jul 7 23:33:11 2007 for HLBR by  doxygen 1.5.2