#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 |
NumList * | DInterfaces [MAX_INTERFACES] |
GlobalVars | Globals |
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().
NumList* DInterfaces[MAX_INTERFACES] |
int IPDecoderID |
Definition at line 19 of file route_dip.c.