![]() |
NetSim Source Code Help
|

Go to the source code of this file.
Data Structures | |
| struct | stru_pim_route |
Macros | |
| #define | PIM_ROUTE_ALLOC() (ptrPIM_ROUTE)list_alloc(sizeof(PIM_ROUTE),offsetof(PIM_ROUTE,ele)) |
| #define | PIM_ROUTE_ADD(ls, m) LIST_ADD_LAST((void**)ls,m) |
| #define | PIM_ROUTE_NEXT(m) (m = LIST_NEXT(m)) |
Typedefs | |
| typedef struct stru_pim_route | PIM_ROUTE |
| typedef struct stru_pim_route * | ptrPIM_ROUTE |
Functions | |
| static ptrPIM_ROUTE | find_route (NETSIM_ID d, NETSIM_ID i, NETSIM_IPAddress dest) |
| void | pim_route_add (NETSIM_ID d, NETSIM_ID i, UINT metric, NETSIM_IPAddress dest) |
| NETSIM_IPAddress | pimroute_find_nexthop (NETSIM_ID d, NETSIM_IPAddress dest) |
Variables | |
| static ptrPIM_ROUTE | pimRoute = NULL |
| #define PIM_ROUTE_ADD | ( | ls, | |
| m | |||
| ) | LIST_ADD_LAST((void**)ls,m) |
Definition at line 30 of file PIM_Route.c.
| #define PIM_ROUTE_ALLOC | ( | ) | (ptrPIM_ROUTE)list_alloc(sizeof(PIM_ROUTE),offsetof(PIM_ROUTE,ele)) |
Definition at line 29 of file PIM_Route.c.
| #define PIM_ROUTE_NEXT | ( | m | ) | (m = LIST_NEXT(m)) |
Definition at line 31 of file PIM_Route.c.
| typedef struct stru_pim_route PIM_ROUTE |
| typedef struct stru_pim_route * ptrPIM_ROUTE |
|
static |
| void pim_route_add | ( | NETSIM_ID | d, |
| NETSIM_ID | i, | ||
| UINT | metric, | ||
| NETSIM_IPAddress | dest | ||
| ) |
Definition at line 72 of file PIM_Route.c.


| NETSIM_IPAddress pimroute_find_nexthop | ( | NETSIM_ID | d, |
| NETSIM_IPAddress | dest | ||
| ) |
Definition at line 165 of file PIM_Route.c.


|
static |
Definition at line 32 of file PIM_Route.c.