Home
last modified time | relevance | path

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

12345678910>>...19

/external/libnl/lib/route/
Droute_obj.c292 struct rtnl_route *route = (struct rtnl_route *) obj; in route_dump_stats() local
296 if (route->ce_mask & ROUTE_ATTR_CACHEINFO) { in route_dump_stats()
297 struct rtnl_rtcacheinfo *ci = &route->rt_cacheinfo; in route_dump_stats()
310 struct rtnl_route *route = (struct rtnl_route *) obj; in route_keygen() local
324 if (route->rt_dst) in route_keygen()
325 addr = route->rt_dst; in route_keygen()
336 rkey->rt_family = route->rt_family; in route_keygen()
337 rkey->rt_tos = route->rt_tos; in route_keygen()
338 rkey->rt_table = route->rt_table; in route_keygen()
339 rkey->rt_prio = route->rt_prio; in route_keygen()
[all …]
/external/libnl/
DMakefile.am29 libnl-route-3.0.pc \
101 libnlinclude_netlink_routedir = $(libnlincludedir)/netlink/route
103 include/netlink/route/action.h \
104 include/netlink/route/addr.h \
105 include/netlink/route/class.h \
106 include/netlink/route/classifier.h \
107 include/netlink/route/link.h \
108 include/netlink/route/neighbour.h \
109 include/netlink/route/neightbl.h \
110 include/netlink/route/netconf.h \
[all …]
/external/libnl/src/lib/
Droute.c25 struct rtnl_route *route; in nl_cli_route_alloc() local
27 route = rtnl_route_alloc(); in nl_cli_route_alloc()
28 if (!route) in nl_cli_route_alloc()
31 return route; in nl_cli_route_alloc()
48 void nl_cli_route_parse_family(struct rtnl_route *route, char *arg) in nl_cli_route_parse_family() argument
53 rtnl_route_set_family(route, family); in nl_cli_route_parse_family()
56 void nl_cli_route_parse_dst(struct rtnl_route *route, char *arg) in nl_cli_route_parse_dst() argument
61 addr = nl_cli_addr_parse(arg, rtnl_route_get_family(route)); in nl_cli_route_parse_dst()
62 if ((err = rtnl_route_set_dst(route, addr)) < 0) in nl_cli_route_parse_dst()
69 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.sh -c ip
14 if4-route-adddel_route if-route-adddel.sh -c route
15 if4-route-addlarge_ip if-route-addlarge.sh -c ip
16 if4-route-addlarge_route if-route-addlarge.sh -c route
26 if6-route-adddel_ip if-route-adddel.sh -6 -c ip
27 if6-route-adddel_route if-route-adddel.sh -6 -c route
28 if6-route-addlarge_ip if-route-addlarge.sh -6 -c ip
29 if6-route-addlarge_route if-route-addlarge.sh -6 -c route
/external/libnl/src/
Dnl-route-add.c58 struct rtnl_route *route; in main() local
69 route = nl_cli_route_alloc(); in main()
111 case 'd': nl_cli_route_parse_dst(route, optarg); break; in main()
112 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main()
113 case 't': nl_cli_route_parse_table(route, optarg); break; in main()
114 case ARG_FAMILY: nl_cli_route_parse_family(route, optarg); break; in main()
115 case ARG_SRC: nl_cli_route_parse_src(route, optarg); break; in main()
116 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); break; in main()
117 case ARG_PREF_SRC: nl_cli_route_parse_pref_src(route, optarg); break; in main()
118 case ARG_METRICS: nl_cli_route_parse_metric(route, optarg); break; in main()
[all …]
Dnl-route-list.c57 struct rtnl_route *route; in main() local
67 route = nl_cli_route_alloc(); in main()
111 case 'd': nl_cli_route_parse_dst(route, optarg); break; in main()
112 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main()
113 case 't': nl_cli_route_parse_table(route, optarg); break; in main()
114 case ARG_FAMILY: nl_cli_route_parse_family(route, optarg); break; in main()
115 case ARG_SRC: nl_cli_route_parse_src(route, optarg); break; in main()
116 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); break; in main()
117 case ARG_PREF_SRC: nl_cli_route_parse_pref_src(route, optarg); break; in main()
118 case ARG_METRICS: nl_cli_route_parse_metric(route, optarg); break; in main()
[all …]
Dnl-route-delete.c66 struct rtnl_route *route = (struct rtnl_route *) obj; in delete_cb() local
76 if ((err = rtnl_route_delete(sock, route, 0)) < 0) in delete_cb()
90 struct rtnl_route *route; in main() local
97 route = nl_cli_route_alloc(); in main()
144 case 'd': nf++; nl_cli_route_parse_dst(route, optarg); break; in main()
145 case 'n': nf++; nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main()
146 case 't': nf++; nl_cli_route_parse_table(route, optarg); break; in main()
147 case ARG_FAMILY: nf++; nl_cli_route_parse_family(route, optarg); break; in main()
148 case ARG_SRC: nf++; nl_cli_route_parse_src(route, optarg); break; in main()
149 case ARG_IIF: nf++; nl_cli_route_parse_iif(route, optarg, link_cache); break; in main()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lwt_ip_encap.sh135 ip -netns ${NS1} route add table 1001 unreachable default metric 8192
136 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192
142 ip -netns ${NS2} route add table 1001 unreachable default metric 8192
143 ip -netns ${NS2} -6 route add table 1001 unreachable default metric 8192
184 ip -netns ${NS1} route add ${IPv4_2}/32 dev veth1 ${VRF}
185 ip -netns ${NS1} route add default dev veth1 via ${IPv4_2} ${VRF} # go top by default
186 ip -netns ${NS1} -6 route add ${IPv6_2}/128 dev veth1 ${VRF}
187 ip -netns ${NS1} -6 route add default dev veth1 via ${IPv6_2} ${VRF} # go top by default
189 ip -netns ${NS1} route add ${IPv4_6}/32 dev veth5 ${VRF}
190 ip -netns ${NS1} route add ${IPv4_7}/32 dev veth5 via ${IPv4_6} ${VRF}
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dfib_offload.sh65 num=$(ip -6 route show match ${pfx} | grep "offload" | wc -l)
79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100
85 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 200
93 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 10
103 ip -6 route flush 2001:db8:3::/64 dev $spine_p1
104 ip -6 route add 2001:db8:3::/64 dev $spine_p2
109 ip -6 route flush 2001:db8:3::/64
117 ip -6 route add 2001:db8:3::/64 metric 100 \
124 ip -6 route append 2001:db8:3::/64 metric 100 \
131 ip -6 route del 2001:db8:3::/64
[all …]
Dblackhole_routes.sh55 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
56 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
61 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
62 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
71 ip -4 route add default vrf v$h2 nexthop via 198.51.100.2
72 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::2
77 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::2
78 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2
121 ip -4 route add blackhole 198.51.100.0/30
126 ip -4 route show 198.51.100.0/30 | grep -q offload
[all …]
/external/perfetto/ui/src/frontend/
Drouter.ts21 [route: string]: m.Component;
56 setRouteOnHash(route: string) {
57 history.pushState(undefined, "", ROUTE_PREFIX + route);
58 this.logging.updatePath(route);
60 if (!(route in this.routes)) {
62 `Route ${route} not known redirecting to ${this.defaultRoute}.`);
63 this.dispatch(Actions.navigate({route: this.defaultRoute}));
74 this.dispatch(Actions.navigate({route: newRoute}));
82 resolve(route: string|null): m.Component {
83 if (!route || !(route in this.routes)) {
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dgre_inner_v4_multipath.sh85 ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1
90 ip route del vrf v$h1 192.0.4.0/24 via 192.0.3.1
101 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130
103 ip route add vrf v$ol1 192.0.4.0/24 nexthop dev g1
108 ip route del vrf v$ol1 192.0.4.0/24
110 ip route del vrf v$ol1 192.0.2.66/32
125 ip route add vrf v$ul21 192.0.2.65/32 via 192.0.2.129
126 ip route add vrf v$ul21 192.0.2.66/32 \
133 ip route del vrf v$ul21 192.0.2.66/32
134 ip route del vrf v$ul21 192.0.2.65/32
[all …]
Dipip_lib.sh149 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
154 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
161 ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17
166 ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17
186 ip route add 192.0.2.66/32 via 192.0.2.130
188 ip route add 192.0.2.16/28 nexthop dev g1a
196 ip route del 192.0.2.16/28
198 ip route del 192.0.2.66/32 via 192.0.2.130
221 ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129
222 ip route add vrf v$ol2 192.0.2.0/28 nexthop dev g2a
[all …]
Dgre_inner_v6_multipath.sh85 ip -6 route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1
90 ip -6 route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1
101 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130
103 ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1
108 ip -6 route del vrf v$ol1 2001:db8:2::/64
110 ip route del vrf v$ol1 192.0.2.66/32
125 ip route add vrf v$ul21 192.0.2.65/32 via 192.0.2.129
126 ip route add vrf v$ul21 192.0.2.66/32 \
133 ip route del vrf v$ul21 192.0.2.66/32
134 ip route del vrf v$ul21 192.0.2.65/32
[all …]
Dip6gre_inner_v6_multipath.sh84 ip -6 route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1
89 ip -6 route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1
100 ip -6 route add vrf v$ol1 2001:db8:40::2/128 via 2001:db8:80::2
102 ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1
107 ip -6 route del vrf v$ol1 2001:db8:2::/64
109 ip -6 route del vrf v$ol1 2001:db8:40::2/128
124 ip -6 route add vrf v$ul21 2001:db8:40::1/128 via 2001:db8:80::1
125 ip -6 route add vrf v$ul21 2001:db8:40::2/128 \
132 ip -6 route del vrf v$ul21 2001:db8:40::2/128
133 ip -6 route del vrf v$ul21 2001:db8:40::1/128
[all …]
Dip6gre_inner_v4_multipath.sh84 ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1
89 ip route del vrf v$h1 192.0.4.0/24 via 192.0.3.1
100 ip -6 route add vrf v$ol1 2001:db8:40::2/128 via 2001:db8:80::2
102 ip route add vrf v$ol1 192.0.4.0/24 nexthop dev g1
107 ip route del vrf v$ol1 192.0.4.0/24
109 ip -6 route del vrf v$ol1 2001:db8:40::2/128
124 ip -6 route add vrf v$ul21 2001:db8:40::1/128 via 2001:db8:80::1
125 ip -6 route add vrf v$ul21 2001:db8:40::2/128 \
132 ip -6 route del vrf v$ul21 2001:db8:40::2/128
133 ip -6 route del vrf v$ul21 2001:db8:40::1/128
[all …]
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 \
100 ip route del vrf v$ol1 192.0.2.16/28
102 ip route del vrf v$ol1 192.0.2.82/32 via 192.0.2.146
106 ip route del vrf v$ol1 192.0.2.66/32 via 192.0.2.130
125 ip route add vrf v$ol2 192.0.2.65/32 via 192.0.2.129
129 ip route add vrf v$ol2 192.0.2.81/32 via 192.0.2.145
[all …]
/external/ltp/testcases/network/stress/route/
D00_Descriptions.txt1 route{4,6}-change-dst
2 Verify the IPv4/IPv6 is not broken when ip command changes route
5 route{4,6}-change-gw
6 Verify the IPv4/IPv6 is not broken when ip command changes route
9 route{4,6}-change-if
10 Verify the IPv4/IPv6 is not broken when ip command changes route
14 Verify the kernel is not crashed when the IPv4 route is modified by
18 Verify the kernel is not crashed when IPv4 route is add by route command
22 Verify the kernel is not crashed when IPv4 route is add by ip command
27 Verify the kernel is not crashed when the IPv6 route is modified by
[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 …]
/external/linux-kselftest/tools/testing/selftests/net/
Dfib_tests.sh105 $IP route get fibmatch 198.51.100.2 &> /dev/null
107 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
115 $IP route get fibmatch 198.51.100.2 &> /dev/null
117 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
137 $IP route add 203.0.113.0/24 \
140 $IP -6 route add 2001:db8:3::/64 \
146 $IP route get fibmatch 203.0.113.1 &> /dev/null
148 $IP -6 route get fibmatch 2001:db8:3::1 &> /dev/null
156 $IP route get fibmatch 203.0.113.1 &> /dev/null
159 $IP -6 route get fibmatch 2001:db8:3::1 &> /dev/null
[all …]
/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/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/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 …]

12345678910>>...19