routes/route_broadcast.c File Reference

#include "route_broadcast.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_ethernet.h"
#include <arpa/inet.h>

Go to the source code of this file.

Functions

int RouteBroadcast (int PacketSlot)
int RouteBroadcastAddNode (int RouteID, char *Args)
int InitRouteBroadcast ()

Variables

int EthernetDecoderID
GlobalVars Globals


Function Documentation

int InitRouteBroadcast (  ) 

Definition at line 99 of file route_broadcast.c.

References route_rec::AddNode, CreateRoute(), DECODER_NONE, EthernetDecoderID, FALSE, GetDecoderByName(), Globals, ROUTE_NONE, RouteBroadcast(), RouteBroadcastAddNode(), route_rec::RouteFunc, global_vars::Routes, and TRUE.

Referenced by InitRoutes().

int RouteBroadcast ( int  PacketSlot  ) 

Definition at line 25 of file route_broadcast.c.

References EthernetDecoderID, GetDataByID(), Globals, INTERFACE_BROADCAST, global_vars::Packets, packet_rec::PacketSlot, ROUTE_RESULT_CONTINUE, ROUTE_RESULT_DONE, and packet_rec::TargetInterface.

Referenced by InitRouteBroadcast().

int RouteBroadcastAddNode ( int  RouteID,
char *  Args 
)

Definition at line 84 of file route_broadcast.c.

References TRUE.

Referenced by InitRouteBroadcast().


Variable Documentation

int EthernetDecoderID

Definition at line 15 of file route_broadcast.c.

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