Searched refs:modifyIpRoute (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | RouteControllerTest.cpp | 73 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, table1, "lo", "192.0.2.2/32", NULL)); in TEST_F() 74 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, table1, "lo", "192.0.2.3/32", NULL)); in TEST_F() 75 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, table2, "lo", "192.0.2.4/32", NULL)); in TEST_F() 80 modifyIpRoute(RTM_DELROUTE, table1, "lo", "192.0.2.2/32", NULL)); in TEST_F() 82 modifyIpRoute(RTM_DELROUTE, table1, "lo", "192.0.2.3/32", NULL)); in TEST_F() 84 modifyIpRoute(RTM_DELROUTE, table2, "lo", "192.0.2.4/32", NULL)); in TEST_F()
|
D | RouteController.h | 103 int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination,
|
D | RouteController.cpp | 318 WARN_UNUSED_RESULT int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, in modifyIpRoute() function 665 if ((ret = modifyIpRoute(RTM_NEWROUTE, table, interface, "0.0.0.0/0", NULL))) { in configureDummyNetwork() 669 if ((ret = modifyIpRoute(RTM_NEWROUTE, table, interface, "::/0", NULL))) { in configureDummyNetwork() 846 int ret = modifyIpRoute(action, table, interface, destination, nexthop); in modifyRoute()
|