Home
last modified time | relevance | path

Searched refs:modifyIpRoute (Results 1 – 3 of 3) sorted by relevance

/system/netd/server/
DRouteControllerTest.cpp82 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, table1, "lo", "192.0.2.2/32", nullptr)); in TEST_F()
83 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, table1, "lo", "192.0.2.3/32", nullptr)); in TEST_F()
84 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, table2, "lo", "192.0.2.4/32", nullptr)); in TEST_F()
89 modifyIpRoute(RTM_DELROUTE, table1, "lo", "192.0.2.2/32", nullptr)); in TEST_F()
91 modifyIpRoute(RTM_DELROUTE, table1, "lo", "192.0.2.3/32", nullptr)); in TEST_F()
93 modifyIpRoute(RTM_DELROUTE, table2, "lo", "192.0.2.4/32", nullptr)); in TEST_F()
DRouteController.h144 int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination,
DRouteController.cpp335 WARN_UNUSED_RESULT int modifyIpRoute(uint16_t action, uint32_t table, const char* interface, in modifyIpRoute() function
693 if ((ret = modifyIpRoute(RTM_NEWROUTE, table, interface, "0.0.0.0/0", nullptr))) { in configureDummyNetwork()
697 if ((ret = modifyIpRoute(RTM_NEWROUTE, table, interface, "::/0", nullptr))) { in configureDummyNetwork()
883 int ret = modifyIpRoute(action, table, interface, destination, nexthop); in modifyRoute()