Searched refs:modifyIpRoute (Results 1 - 3 of 3) sorted by relevance
/system/netd/server/ |
H A D | RouteControllerTest.cpp | 82 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, table1, "lo", "192.0.2.2/32", NULL)); 83 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, table1, "lo", "192.0.2.3/32", NULL)); 84 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, table2, "lo", "192.0.2.4/32", NULL)); 89 modifyIpRoute(RTM_DELROUTE, table1, "lo", "192.0.2.2/32", NULL)); 91 modifyIpRoute(RTM_DELROUTE, table1, "lo", "192.0.2.3/32", NULL)); 93 modifyIpRoute(RTM_DELROUTE, table2, "lo", "192.0.2.4/32", NULL));
|
H A D | RouteController.h | 141 int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination,
|
H A D | RouteController.cpp | 334 WARN_UNUSED_RESULT int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, function in namespace:android::net 689 if ((ret = modifyIpRoute(RTM_NEWROUTE, table, interface, "0.0.0.0/0", NULL))) { 693 if ((ret = modifyIpRoute(RTM_NEWROUTE, table, interface, "::/0", NULL))) { 881 int ret = modifyIpRoute(action, table, interface, destination, nexthop);
|
Completed in 64 milliseconds