routes/route_dip.c File Reference

#include "route_dip.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "../packets/packet.h"
#include "../engine/num_list.h"
#include "../decoders/decode.h"
#include "../decoders/decode_ip.h"
#include <arpa/inet.h>

Go to the source code of this file.

Functions

int RouteDIP (int PacketSlot)
int RouteDIPAddNode (int RouteID, char *Args)
int InitRouteDIP ()

Variables

int IPDecoderID
NumListDInterfaces [MAX_INTERFACES]
GlobalVars Globals


Function Documentation

int InitRouteDIP (  ) 

Definition at line 136 of file route_dip.c.

References route_rec::AddNode, CreateRoute(), DECODER_NONE, DInterfaces, FALSE, GetDecoderByName(), Globals, IPDecoderID, MAX_INTERFACES, ROUTE_NONE, RouteDIP(), RouteDIPAddNode(), route_rec::RouteFunc, global_vars::Routes, and TRUE.

Referenced by InitRoutes().

int RouteDIP ( int  PacketSlot  ) 

Definition at line 29 of file route_dip.c.

References DEBUG, DInterfaces, GetDataByID(), Globals, packet_rec::InterfaceNum, global_vars::Interfaces, IPDecoderID, IsInList(), interface_rec::Name, global_vars::NumInterfaces, global_vars::Packets, packet_rec::PacketSlot, ROUTE_RESULT_CONTINUE, ROUTE_RESULT_DONE, and packet_rec::TargetInterface.

Referenced by InitRouteDIP().

int RouteDIPAddNode ( int  RouteID,
char *  Args 
)

Definition at line 77 of file route_dip.c.

References FALSE, Globals, global_vars::Interfaces, interface_rec::Name, and global_vars::NumInterfaces.

Referenced by InitRouteDIP().


Variable Documentation

NumList* DInterfaces[MAX_INTERFACES]

Definition at line 20 of file route_dip.c.

Referenced by InitRouteDIP(), and RouteDIP().

GlobalVars Globals

Definition at line 41 of file hlbr.c.

int IPDecoderID

Definition at line 19 of file route_dip.c.


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