Home
last modified time | relevance | path

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

12345678910>>...13

/external/libnl/lib/route/
Droute_obj.c282 struct rtnl_route *route = (struct rtnl_route *) obj; in route_dump_stats() local
286 if (route->ce_mask & ROUTE_ATTR_CACHEINFO) { in route_dump_stats()
287 struct rtnl_rtcacheinfo *ci = &route->rt_cacheinfo; in route_dump_stats()
300 struct rtnl_route *route = (struct rtnl_route *) obj; in route_keygen() local
314 if (route->rt_dst) in route_keygen()
315 addr = route->rt_dst; in route_keygen()
326 rkey->rt_family = route->rt_family; in route_keygen()
327 rkey->rt_tos = route->rt_tos; in route_keygen()
328 rkey->rt_table = route->rt_table; in route_keygen()
329 rkey->rt_prio = route->rt_prio; in route_keygen()
[all …]
/external/libnl/include/
DMakefile.am34 netlink/route/action.h \
35 netlink/route/act/mirred.h \
36 netlink/route/cls/ematch/cmp.h \
37 netlink/route/cls/ematch/meta.h \
38 netlink/route/cls/ematch/nbyte.h \
39 netlink/route/cls/ematch/text.h \
40 netlink/route/cls/basic.h \
41 netlink/route/cls/cgroup.h \
42 netlink/route/cls/ematch.h \
43 netlink/route/cls/fw.h \
[all …]
/external/libnl/src/lib/
Droute.c24 struct rtnl_route *route; in nl_cli_route_alloc() local
26 route = rtnl_route_alloc(); in nl_cli_route_alloc()
27 if (!route) in nl_cli_route_alloc()
30 return route; in nl_cli_route_alloc()
47 void nl_cli_route_parse_family(struct rtnl_route *route, char *arg) in nl_cli_route_parse_family() argument
52 rtnl_route_set_family(route, family); in nl_cli_route_parse_family()
55 void nl_cli_route_parse_dst(struct rtnl_route *route, char *arg) in nl_cli_route_parse_dst() argument
60 addr = nl_cli_addr_parse(arg, rtnl_route_get_family(route)); in nl_cli_route_parse_dst()
61 if ((err = rtnl_route_set_dst(route, addr)) < 0) in nl_cli_route_parse_dst()
68 void nl_cli_route_parse_src(struct rtnl_route *route, char *arg) in nl_cli_route_parse_src() argument
[all …]
/external/tcpdump/tests/
Dbgp_vpn_rt-oobr.out22 origin AS: 0, route target 0:0 (= 0.0.0.0)
23 default route target
24 default route target
25 default route target
26 default route target
27 default route target
28 default route target
29 default route target
30 default route target
31 default route target
[all …]
/external/ltp/runtest/
Dnet_stress.interface13 if4-route-adddel_ip if-route-adddel -c ip
14 if4-route-adddel_route if-route-adddel -c route
15 if4-route-addlarge_ip if-route-addlarge -c ip
16 if4-route-addlarge_route if-route-addlarge -c route
26 if6-route-adddel_ip if-route-adddel -6 -c ip
27 if6-route-adddel_route if-route-adddel -6 -c route
28 if6-route-addlarge_ip if-route-addlarge -6 -c ip
29 if6-route-addlarge_route if-route-addlarge -6 -c route
/external/ltp/testcases/network/stress/route/
D00_Descriptions.txt2 Verify the kernel is not crashed when the destination of an IPv4 route
3 is changed frequently by route command
6 Verify the kernel is not crashed when the destination of an IPv4 route
10 Verify the kernel is not crashed when the gateway of an IPv4 route is
11 changed frequently by route command
14 Verify the kernel is not crashed when the gateway of an IPv4 route is
18 Verify the kernel is not crashed when the interface of an IPv4 route is
19 changed frequently by route command
22 Verify the kernel is not crashed when the interface of an IPv4 route is
26 Verify the kernel is not crashed when the IPv4 route is modified by
[all …]
/external/libnl/src/
Dnl-route-add.c55 struct rtnl_route *route; in main() local
66 route = nl_cli_route_alloc(); in main()
108 case 'd': nl_cli_route_parse_dst(route, optarg); break; in main()
109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main()
110 case 't': nl_cli_route_parse_table(route, optarg); break; in main()
111 case ARG_FAMILY: nl_cli_route_parse_family(route, optarg); break; in main()
112 case ARG_SRC: nl_cli_route_parse_src(route, optarg); break; in main()
113 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); break; in main()
114 case ARG_PREF_SRC: nl_cli_route_parse_pref_src(route, optarg); break; in main()
115 case ARG_METRICS: nl_cli_route_parse_metric(route, optarg); break; in main()
[all …]
Dnl-route-delete.c63 struct rtnl_route *route = (struct rtnl_route *) obj; in delete_cb() local
73 if ((err = rtnl_route_delete(sock, route, 0)) < 0) in delete_cb()
87 struct rtnl_route *route; in main() local
94 route = nl_cli_route_alloc(); in main()
141 case 'd': nf++; nl_cli_route_parse_dst(route, optarg); break; in main()
142 case 'n': nf++; nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main()
143 case 't': nf++; nl_cli_route_parse_table(route, optarg); break; in main()
144 case ARG_FAMILY: nf++; nl_cli_route_parse_family(route, optarg); break; in main()
145 case ARG_SRC: nf++; nl_cli_route_parse_src(route, optarg); break; in main()
146 case ARG_IIF: nf++; nl_cli_route_parse_iif(route, optarg, link_cache); break; in main()
[all …]
Dnl-route-list.c54 struct rtnl_route *route; in main() local
64 route = nl_cli_route_alloc(); in main()
108 case 'd': nl_cli_route_parse_dst(route, optarg); break; in main()
109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main()
110 case 't': nl_cli_route_parse_table(route, optarg); break; in main()
111 case ARG_FAMILY: nl_cli_route_parse_family(route, optarg); break; in main()
112 case ARG_SRC: nl_cli_route_parse_src(route, optarg); break; in main()
113 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); break; in main()
114 case ARG_PREF_SRC: nl_cli_route_parse_pref_src(route, optarg); break; in main()
115 case ARG_METRICS: nl_cli_route_parse_metric(route, optarg); break; in main()
[all …]
/external/perfetto/ui/src/frontend/
Drouter.ts20 [route: string]: m.Component;
54 setRouteOnHash(route: string) {
55 history.pushState(undefined, "", ROUTE_PREFIX + route);
57 if (!(route in this.routes)) {
59 `Route ${route} not known redirecting to ${this.defaultRoute}.`);
60 this.dispatch(Actions.navigate({route: this.defaultRoute}));
71 this.dispatch(Actions.navigate({route: newRoute}));
79 resolve(route: string|null): m.Component {
80 if (!route || !(route in this.routes)) {
83 return this.routes[route];
/external/linux-kselftest/tools/testing/selftests/net/
Dfib_tests.sh100 $IP route get fibmatch 198.51.100.2 &> /dev/null
102 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
110 $IP route get fibmatch 198.51.100.2 &> /dev/null
112 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
132 $IP route add 203.0.113.0/24 \
135 $IP -6 route add 2001:db8:3::/64 \
141 $IP route get fibmatch 203.0.113.1 &> /dev/null
143 $IP -6 route get fibmatch 2001:db8:3::1 &> /dev/null
151 $IP route get fibmatch 203.0.113.1 &> /dev/null
154 $IP -6 route get fibmatch 2001:db8:3::1 &> /dev/null
[all …]
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DConnPoolByRoute.java157 protected RouteSpecificPool newRouteSpecificPool(HttpRoute route) { in newRouteSpecificPool() argument
158 return new RouteSpecificPool(route, connPerRoute.getMaxForRoute(route)); in newRouteSpecificPool()
186 protected RouteSpecificPool getRoutePool(HttpRoute route, in getRoutePool() argument
192 rospl = routeToPool.get(route); in getRoutePool()
195 rospl = newRouteSpecificPool(route); in getRoutePool()
196 routeToPool.put(route, rospl); in getRoutePool()
208 public int getConnectionsInPool(HttpRoute route) { in getConnectionsInPool() argument
213 RouteSpecificPool rospl = getRoutePool(route, false); in getConnectionsInPool()
223 final HttpRoute route, in requestPoolEntry() argument
243 return getEntryBlocking(route, state, timeout, tunit, aborter); in requestPoolEntry()
[all …]
DRouteSpecificPool.java60 protected final HttpRoute route; field in RouteSpecificPool
85 public RouteSpecificPool(HttpRoute route, int maxEntries) { in RouteSpecificPool() argument
86 this.route = route; in RouteSpecificPool()
100 return route; in getRoute()
190 ("No entry created for this pool. " + route); in freeEntry()
194 ("No entry allocated from this pool. " + route); in freeEntry()
210 if (!route.equals(entry.getPlannedRoute())) { in createdEntry()
213 "\npool: " + route + in createdEntry()
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dgre_multipath.sh69 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
74 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
87 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130
91 ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146
93 ip route add vrf v$ol1 192.0.2.16/28 \
108 ip route del vrf v$ol1 192.0.2.16/28
110 ip route del vrf v$ol1 192.0.2.82/32 via 192.0.2.146
114 ip route del vrf v$ol1 192.0.2.66/32 via 192.0.2.130
133 ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129
137 ip route add vrf v$ol2 192.0.2.81/32 via 192.0.2.145
[all …]
Drouter_multipath.sh19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
46 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
47 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
52 ip route del 2001:db8:1::/64 vrf vrf-h2
53 ip route del 192.0.2.0/24 vrf vrf-h2
83 ip route add 198.51.100.0/24 vrf vrf-r1 \
86 ip route add 2001:db8:2::/64 vrf vrf-r1 \
[all …]
Drouter_broadcast.sh18 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
19 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.1
24 ip route del 198.51.200.0/24 vrf vrf-h1
25 ip route del 198.51.100.0/24 vrf vrf-h1
43 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
44 ip route add 198.51.200.0/24 vrf vrf-h2 nexthop via 198.51.100.1
49 ip route del 198.51.200.0/24 vrf vrf-h2
50 ip route del 192.0.2.0/24 vrf vrf-h2
68 ip route add 192.0.2.0/24 vrf vrf-h3 nexthop via 198.51.200.1
69 ip route add 198.51.100.0/24 vrf vrf-h3 nexthop via 198.51.200.1
[all …]
/external/ltp/testcases/network/mpls/
Dmpls01.sh19 ip -f mpls route flush dev lo > /dev/null 2>&1
20 ip -f mpls route flush dev $(tst_iface) > /dev/null 2>&1
31 ROD ip -f mpls route add 0xffffe dev lo
32 ROD ip -f mpls route show \> /dev/null
33 ROD ip -f mpls route del 0xffffe dev lo
40 ip -f mpls route add 0xffffe dev lo > /dev/null 2>&1
57 ROD ip -f mpls route add $l dev $(tst_iface)
61 ROD ip -f mpls route show \> /dev/null
65 ROD ip -f mpls route del $l dev $(tst_iface)
/external/iproute2/testsuite/tests/ip/route/
Dadd_default_route.t13 ts_ip "$0" "Add default route via 1.1.1.2" route add default via 1.1.1.2
15 ts_ip "$0" "Show IPv4 default route" -4 route show default
19 ts_ip "$0" "Add another IPv4 route dst 2.2.2.0/24" -4 route add 2.2.2.0/24 dev $DEV
20 ts_ip "$0" "Show IPv4 default route" -4 route show default
25 ts_ip "$0" "Add default route via dead:beef::2" route add default via dead:beef::2
26 ts_ip "$0" "Show IPv6 default route" -6 route show default
30 ts_ip "$0" "Add another IPv6 route dst cafe:babe::/64" -6 route add cafe:babe::/64 dev $DEV
31 ts_ip "$0" "Show IPv6 default route" -6 route show default
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DRealConnection.java72 private final Route route; field in RealConnection
92 public RealConnection(Route route) { in RealConnection() argument
93 this.route = route; in RealConnection()
102 Proxy proxy = route.getProxy(); in connect()
103 Address address = route.getAddress(); in connect()
105 if (route.getAddress().getSslSocketFactory() == null in connect()
145 Platform.get().connectSocket(rawSocket, route.getSocketAddress(), connectTimeout); in connectSocket()
147 throw new ConnectException("Failed to connect to " + route.getSocketAddress()); in connectSocket()
152 if (route.getAddress().getSslSocketFactory() != null) { in connectSocket()
163 .socket(socket, route.getAddress().url().host(), source, sink) in connectSocket()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java68 private final Route route; field in RealConnection
88 public RealConnection(Route route) { in RealConnection() argument
89 this.route = route; in RealConnection()
98 Proxy proxy = route.getProxy(); in connect()
99 Address address = route.getAddress(); in connect()
101 if (route.getAddress().getSslSocketFactory() == null in connect()
141 Platform.get().connectSocket(rawSocket, route.getSocketAddress(), connectTimeout); in connectSocket()
143 throw new ConnectException("Failed to connect to " + route.getSocketAddress()); in connectSocket()
148 if (route.getAddress().getSslSocketFactory() != null) { in connectSocket()
159 .socket(socket, route.getAddress().url().host(), source, sink) in connectSocket()
[all …]
/external/autotest/client/cros/
Drouting.py95 route = routeline.split()
96 interface = route[col_map["Iface"]]
97 destination = route[col_map["Destination"]]
98 gateway = route[col_map["Gateway"]]
99 flags = route[col_map["Flags"]]
100 mask = route[col_map["Mask"]]
130 route = routeline.split()
131 interface = route[9]
132 destination = route[0]
133 gateway = route[4]
[all …]
/external/apache-http/src/org/apache/http/impl/conn/
DAbstractPoolEntry.java86 protected volatile HttpRoute route; field in AbstractPoolEntry
103 HttpRoute route) { in AbstractPoolEntry() argument
110 this.route = route; in AbstractPoolEntry()
141 public void open(HttpRoute route, in open() argument
145 if (route == null) { in open()
166 this.tracker = new RouteTracker(route); in open()
167 final HttpHost proxy = route.getProxyHost(); in open()
171 (proxy != null) ? proxy : route.getTargetHost(), in open()
172 route.getLocalAddress(), in open()
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRequestDirector.java265 final HttpRoute route) throws ProtocolException { in rewriteRequestURI() argument
269 if (route.getProxyHost() != null && !route.isTunnelled()) { in rewriteRequestURI()
272 HttpHost target = route.getTargetHost(); in rewriteRequestURI()
318 HttpRoute route = roureq.getRoute(); in execute() local
326 route, userToken); in execute()
366 managedConn.open(route, context, params); in execute()
376 establishRoute(route, context); in execute()
389 rewriteRequestURI(wrapper, route); in execute()
396 target = route.getTargetHost(); in execute()
399 HttpHost proxy = route.getProxyHost(); in execute()
[all …]
/external/grpc-grpc/src/ruby/lib/grpc/generic/
Dservice.rb166 route = "/#{route_prefix}/#{name}"
169 GRPC.logger.debug("calling #{@host}:#{route}")
170 request_response(route, req, marshal, unmarshal, metadata)
174 GRPC.logger.debug("calling #{@host}:#{route}")
175 client_streamer(route, reqs, marshal, unmarshal, metadata)
179 GRPC.logger.debug("calling #{@host}:#{route}")
180 server_streamer(route, req, marshal, unmarshal, metadata, &blk)
184 GRPC.logger.debug("calling #{@host}:#{route}")
185 bidi_streamer(route, reqs, marshal, unmarshal, metadata, &blk)
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DDefaultRequestDirector.java322 final HttpRoute route) throws ProtocolException { in rewriteRequestURI() argument
326 if (route.getProxyHost() != null && !route.isTunnelled()) { in rewriteRequestURI()
329 HttpHost target = route.getTargetHost(); in rewriteRequestURI()
378 HttpRoute route = roureq.getRoute(); in execute() local
387 route, userToken); in execute()
418 managedConn.open(route, context, params); in execute()
424 establishRoute(route, context); in execute()
437 rewriteRequestURI(wrapper, route); in execute()
443 target = route.getTargetHost(); in execute()
446 HttpHost proxy = route.getProxyHost(); in execute()
[all …]

12345678910>>...13