#include "route.h"
#include "route_dip.h"
#include "route_sip.h"
#include "route_macfilter.h"
#include "route_simple_bridge.h"
#include "route_broadcast.h"
#include "route_arp.h"
#include "route_interface.h"
#include "route_bns.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
int | InitRoutes () |
int | RouteAdd (int RouteID, char *Args) |
int | GetRouteByName (char *Name) |
int | CreateRoute (char *Name) |
int | Route (int PacketSlot) |
Variables | |
GlobalVars | Globals |
int CreateRoute | ( | char * | Name | ) |
Definition at line 72 of file route.c.
References DEBUGPATH, GetRouteByName(), Globals, route_rec::ID, MAX_NAME_LEN, route_rec::Name, global_vars::NumRoutes, ROUTE_NONE, and global_vars::Routes.
Referenced by InitMacFilter(), InitRouteARP(), InitRouteBNS(), InitRouteBroadcast(), InitRouteDIP(), InitRouteInterface(), InitRouteSIP(), and InitSBridge().
int GetRouteByName | ( | char * | Name | ) |
Definition at line 55 of file route.c.
References DEBUGPATH, Globals, route_rec::Name, global_vars::NumRoutes, and global_vars::Routes.
Referenced by CreateRoute(), ParseRouting(), and RouteSIPAdd().
int InitRoutes | ( | ) |
Definition at line 24 of file route.c.
References DEBUGPATH, FALSE, InitMacFilter(), InitRouteARP(), InitRouteBNS(), InitRouteBroadcast(), InitRouteDIP(), InitRouteInterface(), InitRouteSIP(), InitSBridge(), and TRUE.
Referenced by main().
int Route | ( | int | PacketSlot | ) |
Definition at line 102 of file route.c.
References route_rec::Active, DEBUGPATH, FALSE, Globals, global_vars::NumRoutes, ROUTE_RESULT_DONE, ROUTE_RESULT_DROP, route_rec::RouteFunc, global_vars::Routes, and TRUE.
Referenced by RouteAndSend().
int RouteAdd | ( | int | RouteID, | |
char * | Args | |||
) |
Definition at line 42 of file route.c.
References route_rec::AddNode, DEBUGPATH, FALSE, Globals, global_vars::NumRoutes, and global_vars::Routes.
Referenced by ParseRouting().