|
Public Member Functions |
virtual int | command (int argc, const char *const *argv) |
virtual void | recv (Packet *, Handler *callback=0) |
void | tap (const Packet *p) |
void | Terminate (void) |
void | sendOutBCastPkt (Packet *p) |
| DSRAgent () |
| ~DSRAgent () |
| LIST_ENTRY (DSRAgent) link |
Static Public Attributes |
DSRAgent_List | agthead = { 0 } |
Private Member Functions |
int | diff_subnet (ID dest, ID myid) |
void | handlePktWithoutSR (SRPacket &p, bool retry) |
void | handlePacketReceipt (SRPacket &p) |
void | handleForwarding (SRPacket &p) |
void | handleRouteRequest (SRPacket &p) |
void | handleFlowForwarding (SRPacket &p) |
void | handleFlowForwarding (SRPacket &p, int flowidx) |
void | handleDefaultForwarding (SRPacket &p) |
bool | ignoreRouteRequestp (SRPacket &p) |
void | sendOutPacketWithRoute (SRPacket &p, bool fresh, Time delay=0.0) |
void | sendOutRtReq (SRPacket &p, int max_prop=MAX_SR_LEN) |
void | getRouteForPacket (SRPacket &p, bool retry) |
void | acceptRouteReply (SRPacket &p) |
void | returnSrcRouteToRequestor (SRPacket &p) |
bool | replyFromRouteCache (SRPacket &p) |
void | processUnknownFlowError (SRPacket &p, bool asDefault) |
void | processFlowARS (const Packet *packet) |
void | processBrokenRouteError (SRPacket &p) |
void | sendUnknownFlow (SRPacket &p, bool asDefault, u_int16_t flowid=0) |
void | xmitFailed (Packet *pkt, const char *reason="DROP_RTR_MAC_CALLBACK") |
void | xmitFlowFailed (Packet *pkt, const char *reason="DROP_RTR_MAC_CALLBACK") |
void | undeliverablePkt (Packet *p, int mine) |
void | dropSendBuff (SRPacket &p) |
void | stickPacketInSendBuffer (SRPacket &p) |
void | sendBufferCheck () |
void | sendRouteShortening (SRPacket &p, int heard_at, int xmit_at) |
void | testinit () |
void | trace (char *fmt,...) |
Private Attributes |
Trace * | logtarget |
int | off_mac_ |
int | off_ll_ |
int | off_ip_ |
int | off_sr_ |
ID | net_id |
ID | MAC_id |
NsObject * | ll |
CMUPriQueue * | ifq |
Mac * | mac_ |
MobileNode * | node_ |
NsObject * | port_dmux_ |
int | tap_uid_cache [TAP_CACHE_SIZE] |
RequestTable | request_table |
RouteCache * | route_cache |
SendBufEntry | send_buf [SEND_BUF_SIZE] |
SendBufferTimer | send_buf_timer |
int | route_request_num |
int | num_heldoff_rt_replies |
RtRepHoldoff | rtrep_holdoff [RTREP_HOLDOFF_SIZE] |
GratReplyHoldDown | grat_hold [RTREP_HOLDOFF_SIZE] |
int | grat_hold_victim |
FlowTable | flow_table |
ARSTable | ars_table |
bool | route_error_held |
ID | err_from |
ID | err_to |
Time | route_error_data_time |
Friends |
class | SendBufferTimer |
void | XmitFailureCallback (Packet *pkt, void *data) |
void | XmitFlowFailureCallback (Packet *pkt, void *data) |
int | FilterFailure (Packet *p, void *data) |