Home
last modified time | relevance | path

Searched full:route (Results 1 – 25 of 1295) sorted by relevance

12345678910>>...52

/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dfib_notifications.sh85 local route=$1; shift
93 $IP monitor route &> $outfile &
95 $IP route add $route dev dummy1
102 $IP route del $route dev dummy1
110 local route=192.0.2.0/24
113 # route.
117 route_addition_check $ip $notify $route $expected_num_notifications
119 # Make sure two notifications will be emitted for the programmed route.
122 route_addition_check $ip $notify $route $expected_num_notifications
124 # notify=2 means emit notifications only for failed route installation,
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dfib_offload_lib.sh9 local route=$1; shift
13 ip -n $ns -j -p -$family route show $route \
31 local route=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
40 local route=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
49 local route=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
69 check_err $? "Route not in hardware when should"
[all …]
H A Dgre_inner_v4_multipath.sh8 # route would be used.
85 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
[all …]
H A Dgre_multipath_nh_res.sh4 # Test traffic distribution when a wECMP route forwards traffic to two GRE
76 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
77 ip route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2
82 ip route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2
83 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
96 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130
100 ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146
107 ip route add vrf v$ol1 192.0.2.16/28 nhid 103
108 ip route add vrf v$ol1 2001:db8:2::/64 nhid 103
113 ip route del vrf v$ol1 2001:db8:2::/64
[all …]
H A Dgre_multipath_nh.sh4 # Test traffic distribution when a wECMP route forwards traffic to two GRE
76 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
77 ip route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2
82 ip route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::2
83 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
96 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130
100 ip route add vrf v$ol1 192.0.2.82/32 via 192.0.2.146
106 ip route add vrf v$ol1 192.0.2.16/28 nhid 103
107 ip route add vrf v$ol1 2001:db8:2::/64 nhid 103
112 ip route del vrf v$ol1 2001:db8:2::/64
[all …]
H A Dgre_inner_v6_multipath.sh8 # route would be used.
85 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
[all …]
H A 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 …]
H A Dtc_flower_router.sh13 ip route add 192.0.2.0/24 vrf v$h1 nexthop via 192.0.1.2
14 ip route add 192.0.3.0/24 vrf v$h1 nexthop via 192.0.1.2
19 ip route del 192.0.3.0/24 vrf v$h1
20 ip route del 192.0.2.0/24 vrf v$h1
29 ip route add 192.0.1.0/24 vrf v$h2 nexthop via 192.0.2.2
30 ip route add 192.0.3.0/24 vrf v$h2 nexthop via 192.0.2.2
35 ip route del 192.0.3.0/24 vrf v$h2
36 ip route del 192.0.1.0/24 vrf v$h2
45 ip route add 192.0.1.0/24 vrf v$h3 nexthop via 192.0.3.2
46 ip route add 192.0.2.0/24 vrf v$h3 nexthop via 192.0.3.2
[all …]
H A Drouter_nh.sh24 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
25 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
30 ip route del 2001:db8:2::/64 vrf vrf-h1
31 ip route del 198.51.100.0/24 vrf vrf-h1
51 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
52 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
57 ip route del 2001:db8:1::/64 vrf vrf-h2
58 ip route del 192.0.2.0/24 vrf vrf-h2
102 ip route replace 192.0.2.0/24 nhid 101
103 ip route replace 2001:db8:1::/64 nhid 101
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dfib_offload.sh62 # Try to avoid races with route offload
65 num=$(ip -6 route show match ${pfx} | grep "offload" | wc -l)
78 # Add a prefix route and check that it is offloaded.
79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100
81 check_err $? "prefix route not offloaded"
83 # Append an identical prefix route with an higher metric and check that
85 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 200
91 # Prepend an identical prefix route with lower metric and check that
93 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 10
101 # Delete the routes and add the same route with a different nexthop
[all …]
H A Dfib.sh103 ip -n $ns route add table local 192.0.2.1/32 dev dummy1
105 check_err $? "Local table route not in hardware when should"
107 ip -n $ns route add table main 192.0.2.1/32 dev dummy1
109 check_err $? "Main table route in hardware when should not"
112 check_err $? "Local table route was replaced when should not"
115 ip -n $ns route add table main 192.0.2.2/32 dev dummy1
117 check_err $? "Main table route not in hardware when should"
119 ip -n $ns route add table local 192.0.2.2/32 dev dummy1
121 check_err $? "Local table route did not replace route in main table when should"
124 check_err $? "Main table route was not replaced when should"
[all …]
H A Dblackhole_routes.sh56 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
57 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
62 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
63 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
72 ip -4 route add default vrf v$h2 nexthop via 198.51.100.2
73 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::2
78 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::2
79 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2
122 ip -4 route add blackhole 198.51.100.0/30
127 busywait "$TIMEOUT" wait_for_offload ip -4 route show 198.51.100.0/30
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_mr_tcam.c284 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_create() local
288 route->key = route_params->key; in mlxsw_sp_mr_tcam_route_create()
289 route->irif_index = route_params->value.irif_index; in mlxsw_sp_mr_tcam_route_create()
290 route->min_mtu = route_params->value.min_mtu; in mlxsw_sp_mr_tcam_route_create()
291 route->action = route_params->value.route_action; in mlxsw_sp_mr_tcam_route_create()
294 mlxsw_sp_mr_erif_list_init(&route->erif_list); in mlxsw_sp_mr_tcam_route_create()
295 err = mlxsw_sp_mr_tcam_erif_populate(mlxsw_sp, &route->erif_list, in mlxsw_sp_mr_tcam_route_create()
301 err = mlxsw_sp_flow_counter_alloc(mlxsw_sp, &route->counter_index); in mlxsw_sp_mr_tcam_route_create()
306 route->afa_block = mlxsw_sp_mr_tcam_afa_block_create(mlxsw_sp, in mlxsw_sp_mr_tcam_route_create()
307 route->action, in mlxsw_sp_mr_tcam_route_create()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dfib_tests.sh104 echo "Single path route test"
109 $IP route get fibmatch 198.51.100.2 &> /dev/null
111 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
119 $IP route get fibmatch 198.51.100.2 &> /dev/null
120 log_test $? 2 "IPv4 fibmatch - no route"
121 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
122 log_test $? 2 "IPv6 fibmatch - no route"
131 echo "Multipath route test"
141 $IP route add 203.0.113.0/24 \
144 $IP -6 route add 2001:db8:3::/64 \
[all …]
H A Dvrf_route_leaking.sh20 # Route from h1 to h2 and back goes through r1, incoming vrf blue has a route
21 # to the outgoing vrf red for the n2 network and red has a route back to n1.
38 # and VRF route leaking was initialy reported. The MTU test isn't done here
39 # because of the lack of a return route in the red VRF.
53 # Route from h1 to h2 goes through r1, incoming vrf blue has a route to the
54 # outgoing vrf red for the n2 network but red doesn't have a route back to n1.
55 # Route from h2 to h1 goes through r2.
199 ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192
200 ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192
246 ip -netns h1 route add ${H2_N2} via ${R1_N1_IP} dev eth0
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A Droute.json4 "name": "Add route filter with from and to tag",
7 "route"
15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: protocol ip prio 100 route from 1 to 10 cla…
26 "name": "Add route filter with fromif and to tag",
29 "route"
37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: protocol ip prio 100 route fromif $DEV1 to …
48 "name": "Add route filter with to flag and reclassify action",
51 "route"
59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: protocol ip prio 2 route to 10 classid 1:20…
62 …"matchPattern": "filter protocol ip pref.*route chain [0-9]+.*flowid 1:20 to 10.*action order [0-9…
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lwt_ip_encap.sh7 # veth1 <---> veth2 veth3 <---> veth4 (the top route)
8 # veth5 <---> veth6 veth7 <---> veth8 (the bottom route)
18 # IP*_1 <=> IP*_2 <=> IP*_3 <=> IP*_4 (the top route)
21 # NS1/NS2 are configured to route packets to IPv*_GRE via IP*_8
22 # (the bottom route)
30 # that encaps the packets with an IP/GRE header to route to IPv*_GRE
36 # that encaps the packets with an IP/GRE header to route to IPv*_GRE
152 ip -netns ${NS1} route add table 1001 unreachable default metric 8192
153 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192
159 ip -netns ${NS2} route add table 1001 unreachable default metric 8192
[all …]
/openbmc/webui-vue/src/components/AppNavigation/
H A DAppNavigationMixin.js34 route: '/', property in AppNavigationMixin.data.AnonymousClassbd1bea070101
45 route: '/logs/event-logs', property in AppNavigationMixin.data.AnonymousClassbd1bea070201.AnonymousClassbd1bea070301
50 route: '/logs/post-code-logs', property in AppNavigationMixin.data.AnonymousClassbd1bea070201.AnonymousClassbd1bea070401
55 route: '/logs/dumps', property in AppNavigationMixin.data.AnonymousClassbd1bea070201.AnonymousClassbd1bea070501
67 route: '/hardware-status/inventory', property in AppNavigationMixin.data.AnonymousClassbd1bea070601.AnonymousClassbd1bea070701
72 route: '/hardware-status/sensors', property in AppNavigationMixin.data.AnonymousClassbd1bea070601.AnonymousClassbd1bea070801
84 route: '/operations/factory-reset', property in AppNavigationMixin.data.AnonymousClassbd1bea070901.AnonymousClassbd1bea070a01
89 route: '/operations/kvm', property in AppNavigationMixin.data.AnonymousClassbd1bea070901.AnonymousClassbd1bea070b01
94 route: '/operations/key-clear', property in AppNavigationMixin.data.AnonymousClassbd1bea070901.AnonymousClassbd1bea070c01
99 route: '/operations/firmware', property in AppNavigationMixin.data.AnonymousClassbd1bea070901.AnonymousClassbd1bea070d01
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Dni_routes.h4 * Route information for NI boards.
34 * @dest: Destination of all sources in this route set.
35 * @n_src: Number of sources for this route set.
47 * @n_route_sets: Number of route sets that are valid for this device.
48 * @routes: List of route sets that are valid for this device.
58 * @valid_routes: Pointer to a all valid route sets for a single device.
82 * ni_find_route_set() - Finds the proper route set with the specified
84 * @destination: Destination of which to search for the route set.
103 * ni_route_to_register() - Validates and converts the specified signal route
106 * @src: global-identifier for route source
[all …]
/openbmc/webui-vue/src/env/components/AppNavigation/
H A Dibm.js28 route: '/', property in AppNavigationMixin.data.AnonymousClassa1ee90c10101
39 route: '/logs/dumps', property in AppNavigationMixin.data.AnonymousClassa1ee90c10201.AnonymousClassa1ee90c10301
44 route: '/logs/event-logs', property in AppNavigationMixin.data.AnonymousClassa1ee90c10201.AnonymousClassa1ee90c10401
49 route: '/logs/post-code-logs', property in AppNavigationMixin.data.AnonymousClassa1ee90c10201.AnonymousClassa1ee90c10501
61 route: '/hardware-status/inventory', property in AppNavigationMixin.data.AnonymousClassa1ee90c10601.AnonymousClassa1ee90c10701
66 route: '/hardware-status/sensors', property in AppNavigationMixin.data.AnonymousClassa1ee90c10601.AnonymousClassa1ee90c10801
84 route: '/settings/date-time', property in AppNavigationMixin.data.AnonymousClassa1ee90c10a01.AnonymousClassa1ee90c10b01
89 route: '/settings/network', property in AppNavigationMixin.data.AnonymousClassa1ee90c10a01.AnonymousClassa1ee90c10c01
94 route: '/settings/power-restore-policy', property in AppNavigationMixin.data.AnonymousClassa1ee90c10a01.AnonymousClassa1ee90c10d01
106 route: '/security-and-access/sessions', property in AppNavigationMixin.data.AnonymousClassa1ee90c10e01.AnonymousClassa1ee90c10f01
[all …]
H A Dintel.js35 route: '/', property in AppNavigationMixin.data.AnonymousClass87c7ff850101
46 route: '/logs/event-logs', property in AppNavigationMixin.data.AnonymousClass87c7ff850201.AnonymousClass87c7ff850301
51 route: '/logs/post-code-logs', property in AppNavigationMixin.data.AnonymousClass87c7ff850201.AnonymousClass87c7ff850401
63 route: '/hardware-status/inventory', property in AppNavigationMixin.data.AnonymousClass87c7ff850501.AnonymousClass87c7ff850601
68 route: '/hardware-status/sensors', property in AppNavigationMixin.data.AnonymousClass87c7ff850501.AnonymousClass87c7ff850701
80 route: '/operations/kvm', property in AppNavigationMixin.data.AnonymousClass87c7ff850801.AnonymousClass87c7ff850901
85 route: '/operations/firmware', property in AppNavigationMixin.data.AnonymousClass87c7ff850801.AnonymousClass87c7ff850a01
90 route: '/operations/reboot-bmc', property in AppNavigationMixin.data.AnonymousClass87c7ff850801.AnonymousClass87c7ff850b01
95 route: '/operations/serial-over-lan', property in AppNavigationMixin.data.AnonymousClass87c7ff850801.AnonymousClass87c7ff850c01
101 route: '/operations/server-power-operations', property in AppNavigationMixin.data.AnonymousClass87c7ff850801.AnonymousClass87c7ff850d01
[all …]
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/
H A Dgbmc-br-gw-src.sh29 local route
30 for route in "${!gbmc_br_gw_src_routes[@]}"; do
31 if [[ $route != *' dev gbmcbr '* ]]; then
36 # Make becoming a router sticky, if we ever have a default route we are
81 local route
82 for route in "${!gbmc_br_gw_src_routes[@]}"; do
83 [[ $route != *" src $new_src "* ]] || continue
84 echo "gBMC Bridge Updating GW source [$new_src]: $route" >&2
86 ip route change $route src "$new_src" && \
87 unset 'gbmc_br_gw_src_routes[$route]'
[all …]
/openbmc/linux/samples/bpf/
H A Dxdp_router_ipv4_user.c88 /* Function to parse the route entry returned by netlink
89 * Updates the route entry related map entries
104 } route; in read_route() local
116 memset(&route, 0, sizeof(route)); in read_route()
148 route.dst = atoi(dsts); in read_route()
149 route.dst_len = atoi(dsts_len); in read_route()
150 route.gw = atoi(gws); in read_route()
151 route.iface = atoi(ifs); in read_route()
152 route.metric = atoi(metrics); in read_route()
153 assert(get_mac_addr(route.iface, &route.mac) == 0); in read_route()
[all …]
/openbmc/linux/net/ax25/
H A Dax25_route.c72 static int __must_check ax25_rt_add(struct ax25_routes_struct *route) in ax25_rt_add() argument
78 if (route->digi_count > AX25_MAX_DIGIS) in ax25_rt_add()
81 ax25_dev = ax25_addr_ax25dev(&route->port_addr); in ax25_rt_add()
89 if (ax25cmp(&ax25_rt->callsign, &route->dest_addr) == 0 && in ax25_rt_add()
93 if (route->digi_count != 0) { in ax25_rt_add()
100 ax25_rt->digipeat->ndigi = route->digi_count; in ax25_rt_add()
101 for (i = 0; i < route->digi_count; i++) { in ax25_rt_add()
103 ax25_rt->digipeat->calls[i] = route->digi_addr[i]; in ax25_rt_add()
119 ax25_rt->callsign = route->dest_addr; in ax25_rt_add()
123 if (route->digi_count != 0) { in ax25_rt_add()
[all …]
/openbmc/linux/net/netfilter/
H A Dnft_flow_offload.c30 static void nft_default_forward_path(struct nf_flow_route *route, in nft_default_forward_path() argument
34 route->tuple[!dir].in.ifindex = dst_cache->dev->ifindex; in nft_default_forward_path()
35 route->tuple[dir].dst = dst_cache; in nft_default_forward_path()
36 route->tuple[dir].xmit_type = nft_xmit_type(dst_cache); in nft_default_forward_path()
48 static int nft_dev_fill_forward_path(const struct nf_flow_route *route, in nft_dev_fill_forward_path() argument
187 static void nft_dev_forward_path(struct nf_flow_route *route, in nft_dev_forward_path() argument
192 const struct dst_entry *dst = route->tuple[dir].dst; in nft_dev_forward_path()
198 if (nft_dev_fill_forward_path(route, dst, ct, dir, ha, &stack) >= 0) in nft_dev_forward_path()
204 route->tuple[!dir].in.ifindex = info.indev->ifindex; in nft_dev_forward_path()
206 route->tuple[!dir].in.encap[i].id = info.encap[i].id; in nft_dev_forward_path()
[all …]

12345678910>>...52