Searched refs:modifyIpRoute (Results 1 – 3 of 3) sorted by relevance
/system/netd/server/ |
D | RouteControllerTest.cpp | 82 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, table1, "lo", in TEST_F() 84 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, table1, "lo", in TEST_F() 86 EXPECT_EQ(0, modifyIpRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, table2, "lo", in TEST_F() 92 modifyIpRoute(RTM_DELROUTE, NETLINK_ROUTE_CREATE_FLAGS, table1, "lo", "192.0.2.2/32", in TEST_F() 95 modifyIpRoute(RTM_DELROUTE, NETLINK_ROUTE_CREATE_FLAGS, table1, "lo", "192.0.2.3/32", in TEST_F() 98 modifyIpRoute(RTM_DELROUTE, NETLINK_ROUTE_CREATE_FLAGS, table2, "lo", "192.0.2.4/32", in TEST_F()
|
D | RouteController.h | 146 [[nodiscard]] int modifyIpRoute(uint16_t action, uint16_t flags, uint32_t table,
|
D | RouteController.cpp | 363 int modifyIpRoute(uint16_t action, uint16_t flags, uint32_t table, const char* interface, in modifyIpRoute() function 722 if ((ret = modifyIpRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, table, interface, in configureDummyNetwork() 727 if ((ret = modifyIpRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, table, interface, "::/0", in configureDummyNetwork() 912 int ret = modifyIpRoute(action, flags, table, interface, destination, nexthop, mtu); in modifyRoute()
|