Azinix

evlAct.c File Reference

Implement actions on packets. More...

#include "evl.h"

Go to the source code of this file.

Functions

Heap_tEvl_AllocateQueueHeap (st_table *queueTable)
 Create a heap of Q_Q_t's , whose priorities are given by the currentPriority field.
void Evl_RoutePkt (Evl_Action_t *action, Evl_Bridge_t *bridge, Pkt_ProcessPkt_t *pp)
 Set the route for the packet.
void Evl_UscriptAction (Rlp_Action_t *action, Evl_Manager_t *mgr, Pkt_ProcessPkt_t *pp)
 Perform action desired by user, specified as a tcl proc.
int Evl_UcodeAction (Rlp_Action_t *action, Evl_Manager_t *mgr, Pkt_ProcessPkt_t *pp)
 Perform action desired by user, implemented by C code that's been dynamically linked in previously.


Detailed Description

Implement actions on packets.

Definition in file evlAct.c.


Function Documentation

Heap_t* Evl_AllocateQueueHeap ( st_table queueTable  ) 

Create a heap of Q_Q_t's , whose priorities are given by the currentPriority field.

AutomaticStart

Definition at line 43 of file evlAct.c.

void Evl_RoutePkt ( Evl_Action_t action,
Evl_Bridge_t bridge,
Pkt_ProcessPkt_t pp 
)

Set the route for the packet.

Definition at line 94 of file evlAct.c.

int Evl_UcodeAction ( Rlp_Action_t action,
Evl_Manager_t mgr,
Pkt_ProcessPkt_t pp 
)

Perform action desired by user, implemented by C code that's been dynamically linked in previously.

Action is a C function which takes several parameters

Definition at line 175 of file evlAct.c.

void Evl_UscriptAction ( Rlp_Action_t action,
Evl_Manager_t mgr,
Pkt_ProcessPkt_t pp 
)

Perform action desired by user, specified as a tcl proc.

Action is a tcl proc which takes two parameters, specifically a mgr and a pointer to a packet (well the int ids that we're using in place of the pointers).

Definition at line 129 of file evlAct.c.