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, 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()
DRouteController.h212 [[nodiscard]] int modifyIpRoute(uint16_t action, uint16_t flags, uint32_t table,
DRouteController.cpp348 int modifyIpRoute(uint16_t action, uint16_t flags, uint32_t table, const char* interface, in modifyIpRoute() function
711 if ((ret = modifyIpRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, table, interface, in configureDummyNetwork()
716 if ((ret = modifyIpRoute(RTM_NEWROUTE, NETLINK_ROUTE_CREATE_FLAGS, table, interface, "::/0", in configureDummyNetwork()
1053 int ret = modifyIpRoute(action, flags, table, interface, destination, nexthop, mtu); in modifyRoute()