Home
last modified time | relevance | path

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

12345678910>>...19

/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_mr_tcam.c307 route->action, in mlxsw_sp_mr_tcam_route_create()
318 if (!route->priv) { in mlxsw_sp_mr_tcam_route_create()
325 &route->key, route->afa_block, in mlxsw_sp_mr_tcam_route_create()
332 kfree(route->priv); in mlxsw_sp_mr_tcam_route_create()
350 ops->route_destroy(mlxsw_sp, mr_tcam->priv, route->priv, &route->key); in mlxsw_sp_mr_tcam_route_destroy()
351 kfree(route->priv); in mlxsw_sp_mr_tcam_route_destroy()
387 err = ops->route_update(mlxsw_sp, route->priv, &route->key, afa_block); in mlxsw_sp_mr_tcam_route_action_update()
411 route->action, in mlxsw_sp_mr_tcam_route_min_mtu_update()
420 err = ops->route_update(mlxsw_sp, route->priv, &route->key, afa_block); in mlxsw_sp_mr_tcam_route_min_mtu_update()
501 err = ops->route_update(mlxsw_sp, route->priv, &route->key, afa_block); in mlxsw_sp_mr_tcam_route_erif_del()
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
A Dfib_notifications.sh85 local route=$1; shift
95 $IP route add $route dev dummy1
102 $IP route del $route dev dummy1
110 local route=192.0.2.0/24
138 local route=$1; shift
142 $IP route add $route dev dummy1
149 $IP route del $route dev dummy1
181 local route=$1; shift
185 $IP route add $route dev dummy1
192 $IP route replace $route dev dummy2
[all …]
/linux/tools/testing/selftests/net/forwarding/
A Dfib_offload_lib.sh9 local route=$1; shift
13 ip -n $ns -j -p -$family route show $route \
31 local route=$1; shift
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
229 ip -n $ns route add 192.0.2.0/24 dev dummy1
230 ip -n $ns route add 192.0.2.0/25 dev dummy1
305 ip -n $ns route add 192.0.2.0/24 dev dummy1
[all …]
A Dgre_inner_v4_multipath.sh108 ip route del vrf v$ol1 192.0.4.0/24
110 ip route del vrf v$ol1 192.0.2.66/32
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
150 ip route add vrf v$ul31 192.0.2.65/32 \
165 ip route del vrf v$ul31 192.0.2.65/32
166 ip route del vrf v$ul31 192.0.2.66/32
188 ip route del vrf v$ol4 192.0.3.0/24
190 ip route del vrf v$ol4 192.0.2.65/32
[all …]
A Dip6gre_lib.sh200 ip route add 203.0.113.0/24 dev g1a
201 ip -6 route add 2001:db8:2::/64 dev g1a
209 ip -6 route del 2001:db8:2::/64
210 ip route del 203.0.113.0/24
248 ip -6 route del vrf v$ol2 2001:db8:2::/64
249 ip route del vrf v$ol2 198.51.100.0/24
285 ip -6 route del vrf v$ol1 2001:db8:2::/64
286 ip route del vrf v$ol1 203.0.113.0/24
287 ip -6 route del vrf v$ul1 2001:db8:3::2/128
329 ip -6 route del vrf v$ol2 2001:db8:2::/64
[all …]
A Dgre_inner_v6_multipath.sh108 ip -6 route del vrf v$ol1 2001:db8:2::/64
110 ip route del vrf v$ol1 192.0.2.66/32
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
150 ip route add vrf v$ul31 192.0.2.65/32 \
165 ip route del vrf v$ul31 192.0.2.65/32
166 ip route del vrf v$ul31 192.0.2.66/32
188 ip -6 route del vrf v$ol4 2001:db8:1::/64
190 ip route del vrf v$ol4 192.0.2.65/32
[all …]
A 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
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
230 ip route del vrf v$ol2 192.0.2.0/28
266 ip route del vrf v$ol1 192.0.2.16/28
267 ip route del vrf v$ul1 192.0.2.66/32
305 ip route del vrf v$ol2 192.0.2.0/28
[all …]
A Dgre_custom_multipath_hash.sh96 ip -6 route del vrf v$h1 default
97 ip route del vrf v$h1 default
117 ip route del vrf v$ol1 203.0.113.0/24
119 ip route del vrf v$ol1 192.0.2.2/32
142 ip route del vrf v$ul21 192.0.2.2/32
143 ip route del vrf v$ul21 192.0.2.1/32
174 ip route del vrf v$ul31 192.0.2.1/32
175 ip route del vrf v$ul31 192.0.2.2/32
201 ip route del vrf v$ol4 192.0.2.1/32
218 ip -6 route del vrf v$h2 default
[all …]
A Dip6gre_inner_v4_multipath.sh84 ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1
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
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
149 ip -6 route add vrf v$ul31 2001:db8:40::1/128 \
164 ip -6 route del vrf v$ul31 2001:db8:40::1/128
165 ip -6 route del vrf v$ul31 2001:db8:40::2/128
187 ip route del vrf v$ol4 192.0.3.0/24
[all …]
A Dip6gre_inner_v6_multipath.sh102 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
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
149 ip -6 route add vrf v$ul31 2001:db8:40::1/128 \
164 ip -6 route del vrf v$ul31 2001:db8:40::1/128
165 ip -6 route del vrf v$ul31 2001:db8:40::2/128
187 ip -6 route del vrf v$ol4 2001:db8:1::/64
[all …]
A Dip6gre_custom_multipath_hash.sh96 ip -6 route del vrf v$h1 default
97 ip route del vrf v$h1 default
111 ip route add vrf v$ol1 203.0.113.0/24 dev g1
117 ip -6 route del vrf v$ol1 2001:db8:2::/64
118 ip route del vrf v$ol1 203.0.113.0/24
120 ip route del vrf v$ol1 2001:db8:3::2/128
200 ip -6 route del vrf v$ol4 2001:db8:1::/64
201 ip route del vrf v$ol4 198.51.100.0/24
203 ip -6 route del vrf v$ol4 2001:db8:3::1/128
220 ip -6 route del vrf v$h2 default
[all …]
A Dgre_multipath_nh.sh76 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
83 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
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
113 ip route del vrf v$ol1 192.0.2.16/28
152 ip route add vrf v$ol2 192.0.2.0/28 nhid 203
153 ip route add vrf v$ol2 2001:db8:1::/64 nhid 203
166 ip route del vrf v$ol2 2001:db8:1::/64
167 ip route del vrf v$ol2 192.0.2.0/28
[all …]
A 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
93 ip route add vrf v$ol1 192.0.2.16/28 \
100 ip route del vrf v$ol1 192.0.2.16/28
131 ip route add vrf v$ol2 192.0.2.0/28 \
146 ip route del vrf v$ol2 192.0.2.0/28
165 ip route add vrf v$h2 192.0.2.0/28 via 192.0.2.17
170 ip route del vrf v$h2 192.0.2.0/28 via 192.0.2.17
214 ip route replace vrf v$ol1 192.0.2.16/28 \
[all …]
A Dgre_multipath_nh_res.sh76 ip route add vrf v$h1 192.0.2.16/28 via 192.0.2.2
83 ip route del vrf v$h1 192.0.2.16/28 via 192.0.2.2
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
114 ip route del vrf v$ol1 192.0.2.16/28
154 ip route add vrf v$ol2 192.0.2.0/28 nhid 203
155 ip route add vrf v$ol2 2001:db8:1::/64 nhid 203
168 ip route del vrf v$ol2 2001:db8:1::/64
169 ip route del vrf v$ol2 192.0.2.0/28
[all …]
A Drouter_multipath.sh25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
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 \
93 ip route del 2001:db8:2::/64 vrf vrf-r1
94 ip route del 198.51.100.0/24 vrf vrf-r1
133 ip route add 192.0.2.0/24 vrf vrf-r2 \
143 ip route del 2001:db8:1::/64 vrf vrf-r2
[all …]
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
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
104 ip route replace 198.51.100.0/24 nhid 102
[all …]
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
51 ip route del 192.0.2.0/24 vrf v$h3
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Dfib_offload.sh109 ip -6 route flush 2001:db8:3::/64
131 ip -6 route del 2001:db8:3::/64
160 ip -6 route flush 2001:db8:3::/64
215 ip -6 route flush 2001:db8:3::/64
225 ip -6 route add 2001:db8:3::/64 \
228 ip -6 route add 2001:db8:4::/64 \
235 ip -6 route del 2001:db8:3::/64
241 ip -6 route add 2001:db8:3::/64 \
244 ip -6 route del 2001:db8:4::/64 \
253 ip -6 route flush 2001:db8:3::/64
[all …]
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
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
139 ip -4 route del blackhole 198.51.100.0/30
146 ip -6 route add blackhole 2001:db8:2::/120
[all …]
/linux/tools/testing/selftests/bpf/
A Dtest_lwt_ip_encap.sh192 ip -netns ${NS1} route add ${IPv4_2}/32 dev veth1 ${VRF}
194 ip -netns ${NS1} -6 route add ${IPv6_2}/128 dev veth1 ${VRF}
197 ip -netns ${NS1} route add ${IPv4_6}/32 dev veth5 ${VRF}
218 ip -netns ${NS3} route add ${IPv4_3}/32 dev veth4
221 ip -netns ${NS3} -6 route add ${IPv6_3}/128 dev veth4
225 ip -netns ${NS3} route add ${IPv4_7}/32 dev veth8
228 ip -netns ${NS3} -6 route add ${IPv6_7}/128 dev veth8
268 ip -netns ${NS1} route del ${IPv4_GRE} dev veth5 ${VRF}
269 ip -netns ${NS2} route del ${IPv4_GRE} dev veth7 ${VRF}
425 ip -netns ${NS2} route add ${IPv4_DST} encap bpf in obj \
[all …]
/linux/samples/bpf/
A Dxdp_router_ipv4_user.c136 } route; in read_route() local
157 memset(&route, 0, sizeof(route)); in read_route()
192 route.gw = atoi(gws); in read_route()
196 route.iface_name = if_indextoname(route.iface, route.iface_name); in read_route()
197 route.mac = getmac(route.iface_name); in read_route()
198 if (route.mac == -1) in read_route()
201 &route.iface, &route.iface, 0) == 0); in read_route()
227 &route.dst, in read_route()
231 &route.dst, in read_route()
306 memset(&route, 0, sizeof(route)); in read_route()
[all …]
/linux/net/netfilter/
A Dnft_flow_offload.c35 route->tuple[dir].dst = dst_cache; in nft_default_forward_path()
212 route->tuple[dir].xmit_type = info.xmit_type; in nft_dev_forward_path()
218 struct nf_flow_route *route, in nft_flow_route() argument
242 nft_default_forward_path(route, this_dst, dir); in nft_flow_route()
243 nft_default_forward_path(route, other_dst, !dir); in nft_flow_route()
247 nft_dev_forward_path(route, ct, dir, ft); in nft_flow_route()
248 nft_dev_forward_path(route, ct, !dir, ft); in nft_flow_route()
278 struct nf_flow_route route = {}; in nft_flow_offload_eval() local
323 if (flow_offload_route_init(flow, &route) < 0) in nft_flow_offload_eval()
335 dst_release(route.tuple[!dir].dst); in nft_flow_offload_eval()
[all …]
/linux/net/ax25/
A Dax25_route.c80 if (route->digi_count > AX25_MAX_DIGIS) in ax25_rt_add()
91 if (route->digi_count != 0) { in ax25_rt_add()
98 for (i = 0; i < route->digi_count; i++) { in ax25_rt_add()
115 ax25_rt->callsign = route->dest_addr; in ax25_rt_add()
119 if (route->digi_count != 0) { in ax25_rt_add()
127 for (i = 0; i < route->digi_count; i++) { in ax25_rt_add()
224 struct ax25_routes_struct route; in ax25_rt_ioctl() local
228 if (copy_from_user(&route, arg, sizeof(route))) in ax25_rt_ioctl()
230 return ax25_rt_add(&route); in ax25_rt_ioctl()
233 if (copy_from_user(&route, arg, sizeof(route))) in ax25_rt_ioctl()
[all …]
/linux/tools/testing/selftests/net/
A Dfib_tests.sh137 $IP route add 203.0.113.0/24 \
140 $IP -6 route add 2001:db8:3::/64 \
211 $IP route get fibmatch 203.0.113.1 \
218 $IP route get fibmatch 203.0.113.1 \
225 $IP route get fibmatch 203.0.113.1 | \
232 $IP route get fibmatch 203.0.113.1 | \
254 $IP route add 203.0.113.0/24 \
257 $IP -6 route add 2001:db8:3::/64 \
358 $IP route get fibmatch 192.0.2.1 | \
423 $IP route get fibmatch 192.0.2.2 | \
[all …]
/linux/drivers/thunderbolt/
A Dctl.h114 static inline struct tb_cfg_header tb_cfg_make_header(u64 route) in tb_cfg_make_header() argument
117 .route_hi = route >> 32, in tb_cfg_make_header()
118 .route_lo = route, in tb_cfg_make_header()
121 WARN_ON(tb_cfg_get_route(&header) != route); in tb_cfg_make_header()
125 int tb_cfg_ack_plug(struct tb_ctl *ctl, u64 route, u32 port, bool unplug);
126 struct tb_cfg_result tb_cfg_reset(struct tb_ctl *ctl, u64 route);
128 u64 route, u32 port,
132 u64 route, u32 port,
135 int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port,
137 int tb_cfg_write(struct tb_ctl *ctl, const void *buffer, u64 route, u32 port,
[all …]

Completed in 62 milliseconds

12345678910>>...19