Home
last modified time | relevance | path

Searched refs:RTM_NEWROUTE (Results 1 – 4 of 4) sorted by relevance

/system/core/libsysutils/src/
DNetlinkEvent.cpp91 NL_EVENT_RTM_NAME(RTM_NEWROUTE); in rtMessageName()
312 if (type != RTM_NEWROUTE && type != RTM_DELROUTE) { in parseRtMessage()
386 mAction = (type == RTM_NEWROUTE) ? Action::kRouteUpdated : in parseRtMessage()
541 } else if (nh->nlmsg_type == RTM_NEWROUTE || in parseBinaryNetlinkMessage()
/system/connectivity/shill/net/
Drtnl_message.cc89 case RTM_NEWROUTE: in DecodeInternal()
122 case RTM_NEWROUTE: in DecodeInternal()
464 hdr->hdr.nlmsg_type = RTM_NEWROUTE; in EncodeRoute()
/system/extras/tests/net_test/
Diproute.py64 RTM_NEWROUTE = 24 variable
462 if command == RTM_NEWROUTE and not table:
481 self._Route(version, RTM_NEWROUTE, table, dest, prefixlen, nexthop, dev,
/system/netd/server/
DRouteController.cpp442 uint16_t flags = (action == RTM_NEWROUTE) ? NETLINK_CREATE_REQUEST_FLAGS : in modifyIpRoute()
705 if ((ret = modifyIpRoute(RTM_NEWROUTE, table, interface, "0.0.0.0/0", NULL))) { in configureDummyNetwork()
710 if ((ret = modifyIpRoute(RTM_NEWROUTE, table, interface, "::/0", NULL))) { in configureDummyNetwork()
906 if (ret && !(action == RTM_NEWROUTE && ret == -EEXIST)) { in modifyRoute()
1098 return modifyRoute(RTM_NEWROUTE, interface, destination, nexthop, tableType); in addRoute()