| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <stdio.h>#include "config.h"Compounds | |
| class | Agent_List |
| class | From_List |
| class | In_List |
| class | Out_List |
| class | PrvCurPtr |
Defines | |
| #define | INTF_INSERT(x, y) x->InsertFront((Agent_List **)&x, (Agent_List *)y) |
| #define | INTF_REMOVE(x, y) y->Remove(x,y) |
| #define | INTF_FIND(x, y) x->Find((Agent_List **)&x, y) |
| #define | INTF_FREEALL(x) x->FreeAll((Agent_List **)&x) |
| #define | INTF_UNION(x, y) x->Union((Agent_List **)&x, (Agent_List *)y) |
| #define | AGENT_NEXT(x) x->next |
| #define | FROM_NEXT(x) (From_List *)(x->next) |
| #define | OUT_NEXT(x) (Out_List *)(x->next) |
| #define | IN_NEXT(x) (In_List *)(x->next) |
| #define | AGT_ADDR(x) x->agent_addr |
| #define | NODE_ADDR(x) x->agent_addr.addr_ |
| #define | PORT(x) x->agent_addr.port_ |
| #define | RANK(x) ((From_List *)x)->rank |
| #define | IS_SINK(x) ((From_List *)x)->is_sink |
| #define | GRADIENT(x) ((Out_List *)x)->gradient |
| #define | GRAD_TMOUT(x) ((Out_List *)x)->timeout |
| #define | FROM_SLOT(x) ((Out_List *)x)->from |
| #define | TO_SLOT(x) ((Out_List *)x)->to |
| #define | NUM_DATA_SEND(x) ((Out_List *)x)->num_data_send |
| #define | NUM_NEG_RECV(x) ((Out_List *)x)->num_neg_recv |
| #define | NUM_POS_RECV(x) ((Out_List *)x)->num_pos_recv |
| #define | NUM_POS_SEND(x) ((In_List *)x)->num_pos_send |
| #define | NUM_NEG_SEND(x) ((In_List *)x)->num_neg_send |
| #define | LAST_TS_NEW_SUB(x) ((In_List *)x)->last_ts_new_sub |
| #define | NEW_SUB_RECV(x) ((In_List *)x)->new_sub_recv |
| #define | NEW_ORG_RECV(x) ((In_List *)x)->new_org_recv |
| #define | OLD_ORG_RECV(x) ((In_List *)x)->old_org_recv |
| #define | TOTAL_NEW_SUB_RECV(x) ((In_List *)x)->total_new_sub_recv |
| #define | TOTAL_NEW_ORG_RECV(x) ((In_List *)x)->total_new_org_recv |
| #define | TOTAL_OLD_ORG_RECV(x) ((In_List *)x)->total_old_org_recv |
| #define | TOTAL_RECV(x) ((In_List *)x)->total_received |
| #define | PREV_RECV(x) ((In_List *)x)->prev_received |
| #define | NUM_LOSS(x) ((In_List *)x)->num_loss |
| #define | AVG_DELAY(x) ((In_List *)x)->avg_delay |
| #define | VAR_DELAY(x) ((In_List *)x)->var_delay |
| #define | WHERE_TO_GO(x) x->WhereToGo() |
| #define | FIND_MAX_IN(x) x->FindMaxIn() |
| #define | CAL_RANGE(x) x->CalRange() |
| #define | NORMALIZE(x) x->NormalizeGradient() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|