Home
last modified time | relevance | path

Searched refs:route (Results 1 – 25 of 30) sorted by relevance

12

/system/hardware/interfaces/net/netd/1.1/
DINetd.hal27 * Add route to a specified OEM network
32 * @param ifname Interface name specified by the route, or an empty
33 * string for a route that does not specify an
36 * @param destination The destination prefix of the route in CIDR notation.
38 * @param nexthop IP address of the gateway for the route, or an empty
39 * string for a directly-connected route. If non-empty,
50 * Remove route from a specified OEM network.
55 * @param ifname Interface name specified by the route, or an empty
56 * string for a route that does not specify an
59 * @param destination The destination prefix of the route in CIDR notation.
[all …]
/system/netd/server/
DNetlinkHandler.cpp176 const char *route = evt->findParam("ROUTE"); in onEvent() local
179 if (route && (gateway || iface)) { in onEvent()
181 route, (gateway == nullptr) ? "" : gateway, in onEvent()
268 void NetlinkHandler::notifyRouteChange(bool updated, const std::string& route, in notifyRouteChange() argument
270 LOG_EVENT_FUNC(BINDER_RETRY, onRouteChanged, updated, route, gateway, ifName); in notifyRouteChange()
DNetdNativeService.cpp965 const RouteInfoParcel& route) { in networkAddRouteParcel() argument
972 int res = gCtls->netCtrl.addRoute(netId, route.ifName.c_str(), route.destination.c_str(), in networkAddRouteParcel()
973 route.nextHop.empty() ? nullptr : route.nextHop.c_str(), in networkAddRouteParcel()
974 legacy, uid, route.mtu); in networkAddRouteParcel()
979 const RouteInfoParcel& route) { in networkUpdateRouteParcel() argument
986 int res = gCtls->netCtrl.updateRoute(netId, route.ifName.c_str(), route.destination.c_str(), in networkUpdateRouteParcel()
987 route.nextHop.empty() ? nullptr : route.nextHop.c_str(), in networkUpdateRouteParcel()
988 legacy, uid, route.mtu); in networkUpdateRouteParcel()
993 const RouteInfoParcel& route) { in networkRemoveRouteParcel() argument
994 return networkRemoveRoute(netId, route.ifName, route.destination, route.nextHop); in networkRemoveRouteParcel()
DNetlinkHandler.h56 void notifyRouteChange(bool updated, const std::string& route, const std::string& gateway,
DNetdNativeService.h83 binder::Status networkAddRouteParcel(int32_t netId, const RouteInfoParcel& route) override;
84 binder::Status networkUpdateRouteParcel(int32_t netId, const RouteInfoParcel& route) override;
85 binder::Status networkRemoveRouteParcel(int32_t netId, const RouteInfoParcel& route) override;
DRouteController.cpp430 rtmsg route = { in modifyIpRoute() local
443 {&route, sizeof(route)}, in modifyIpRoute()
/system/netd/tests/
Dtest_utils.cpp99 for (const auto& route : routes) { in ipRouteExists() local
102 if (route.find(substring) == std::string::npos) { in ipRouteExists()
DTestUnsolService.h70 binder::Status onRouteChanged(bool updated, const std::string& route,
/system/sepolicy/prebuilts/api/30.0/private/
Duntrusted_app_29.te18 # allow binding to netlink route sockets and sending RTM_GETLINK messages.
Duntrusted_app_27.te40 # allow binding to netlink route sockets and sending RTM_GETLINK messages.
Duntrusted_app_25.te52 # allow binding to netlink route sockets and sending RTM_GETLINK messages.
/system/sepolicy/prebuilts/api/32.0/private/
Duntrusted_app_29.te18 # allow binding to netlink route sockets and sending RTM_GETLINK messages.
Duntrusted_app_27.te40 # allow binding to netlink route sockets and sending RTM_GETLINK messages.
Duntrusted_app_25.te52 # allow binding to netlink route sockets and sending RTM_GETLINK messages.
/system/sepolicy/prebuilts/api/31.0/private/
Duntrusted_app_29.te18 # allow binding to netlink route sockets and sending RTM_GETLINK messages.
Duntrusted_app_27.te40 # allow binding to netlink route sockets and sending RTM_GETLINK messages.
Duntrusted_app_25.te52 # allow binding to netlink route sockets and sending RTM_GETLINK messages.
/system/sepolicy/vendor/
Dmediacodec.te6 # can route /dev/binder traffic to /dev/vndbinder
/system/core/shell_and_utilities/
DREADME.md276 rmmod route runcon sed seq setenforce setprop setsid sha1sum sleep sort
297 rmmod route runcon sed seq setenforce setprop setsid sha1sum sleep sort
310 nohup notify ps readlink renice restorecon rmmod route runcon schedtop
322 notify printenv ps readlink renice restorecon rm rmdir rmmod route runcon
334 printenv ps reboot renice restorecon rm rmdir rmmod route runcon schedtop
345 nandread netstat notify printenv ps reboot renice rm rmdir rmmod route
356 nandread netstat notify printenv ps reboot renice rm rmdir rmmod route
/system/sepolicy/prebuilts/api/32.0/public/
Dnetd.te52 # For /proc/sys/net/ipv[46]/route/flush.
/system/sepolicy/prebuilts/api/31.0/public/
Dnetd.te52 # For /proc/sys/net/ipv[46]/route/flush.
/system/sepolicy/prebuilts/api/33.0/public/
Dnetd.te52 # For /proc/sys/net/ipv[46]/route/flush.
/system/sepolicy/prebuilts/api/34.0/public/
Dnetd.te54 # For /proc/sys/net/ipv[46]/route/flush.
/system/sepolicy/prebuilts/api/30.0/public/
Dnetd.te50 # For /proc/sys/net/ipv[46]/route/flush.
/system/sepolicy/public/
Dnetd.te54 # For /proc/sys/net/ipv[46]/route/flush.

12