Lines Matching refs:route
23 #include "route.h"
40 * Add route info to table by default netId
43 * @param routes the list of route
45 * @return 0, add route success, otherwise it will fail
50 * Remove route info from table by default netId
52 * @param routes the list of route
54 * @return 0, remove route success, otherwise it will fail
59 * Add route info to table by given netId
62 * @param route route info will add to route table
64 * @return 0, add route success, otherwise it will fail
66 static int32_t AddRoute(int32_t netId, const Route &route);
69 * Remove route info from table by given netId
72 * @param route route info will remove from route table
74 * @return 0, remove route success, otherwise it will fail
76 static int32_t RemoveRoute(int32_t netId, const Route &route);
79 * Update route from oldnl to newnl
82 * @param newnl route info will add or update to route table
83 * @param oldnl route info will remove from route table
85 * @return 1, route changed between oldnl and newnl
90 static int32_t ModifyRoute(routeOperateType op, int32_t netId, const Route &route);