Home
last modified time | relevance | path

Searched refs:nhid (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/tools/testing/selftests/net/forwarding/
Drouter_mpath_nh.sh171 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
176 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106
181 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203
186 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
318 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1001
322 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1002
326 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 103
343 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1001
347 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1002
351 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 106
Drouter_nh.sh102 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
105 ip route replace 2001:db8:2::/64 nhid 102
Dgre_multipath_nh.sh106 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
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
Dgre_multipath_nh_res.sh107 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
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
Drouter_mpath_nh_res.sh170 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
176 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106
182 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203
188 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
/linux-6.6.21/tools/testing/selftests/net/
Dfib_nexthop_multiprefix.sh127 ip -netns h0 ro add 172.16.10${i}.0/24 nhid 4
130 ip -netns h0 -6 ro add 2001:db8:10${i}::/64 nhid 6
285 ip -netns h0 ro del 172.16.102.0/24 nhid 4
286 ip -netns h0 -6 ro del 2001:db8:102::/64 nhid 6
Dicmp_redirect.sh360 run_cmd ip -netns r1 ro add ${H2_N2} nhid 1
363 run_cmd ip -netns r1 -6 ro add ${H2_N2_6} nhid 2
367 run_cmd ip -netns h1 ro add ${H1_VRF_ARG} ${H2_N2} nhid 1
370 run_cmd ip -netns h1 -6 ro add ${H1_VRF_ARG} ${H2_N2_6} nhid 2
Dfib_nexthop_nongw.sh89 ip -n h1 route add 192.168.1.1 nhid 1
Dpmtu.sh748 [ "${nhid}" = "" ] && nhid="${i}" && continue
754 ip -n ${ns_name} -${fam} nexthop add id ${nhid} via ${gw} dev ${dev}
756 ns=""; fam=""; nhid=""; gw=""; dev=""
764 [ "${nhid}" = "" ] && nhid="${i}"
768 ip -n "${ns_name}" -"${fam}" route add "${addr}" table "${rt_table}" nhid "${nhid}"
770 ns=""; fam=""; addr=""; nhid=""
/linux-6.6.21/tools/testing/selftests/drivers/net/netdevsim/
Dnexthop.sh74 local nhid
78 nhid=$1; shift
81 count=$($IP nexthop bucket show id $group_id nhid $nhid |
381 local nhid=$1; shift
385 for index in $($IP -j nexthop bucket show id $group_id nhid $nhid |
396 local nhid=$1; shift
398 $IP -j nexthop bucket show id $group_id nhid $nhid | jq length
/linux-6.6.21/Documentation/networking/
Dnexthop-group-resilient.rst262 id 10 index 0 idle_time 5.59 nhid 1
263 id 10 index 1 idle_time 5.59 nhid 1
264 id 10 index 2 idle_time 8.74 nhid 2
265 id 10 index 3 idle_time 8.74 nhid 2
266 id 10 index 4 idle_time 8.74 nhid 1
267 id 10 index 5 idle_time 8.74 nhid 1
268 id 10 index 6 idle_time 8.74 nhid 1
269 id 10 index 7 idle_time 8.74 nhid 1
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_core.c824 u32 nhid, struct netlink_ext_ack *extack) in vxlan_fdb_nh_update() argument
830 if (old_nh && old_nh->id == nhid) in vxlan_fdb_nh_update()
833 nh = nexthop_find_by_id(vxlan->net, nhid); in vxlan_fdb_nh_update()
889 u32 nhid, struct vxlan_fdb **fdb, in vxlan_fdb_create() argument
905 if (nhid) in vxlan_fdb_create()
906 rc = vxlan_fdb_nh_update(vxlan, f, nhid, extack); in vxlan_fdb_create()
983 struct vxlan_fdb *f, u32 nhid, in vxlan_fdb_update_existing() argument
994 if (nhid && !rcu_access_pointer(f->nh)) { in vxlan_fdb_update_existing()
1000 if (nhid && (flags & NLM_F_APPEND)) { in vxlan_fdb_update_existing()
1027 if (nhid) { in vxlan_fdb_update_existing()
[all …]
Dvxlan_private.h182 u32 nhid, struct vxlan_fdb **fdb,
194 __u32 ifindex, __u16 ndm_flags, u32 nhid,
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh779 ip nexthop bucket show nhid 1
782 ip nexthop bucket show nhid 2
788 ip nexthop bucket show nhid 1
794 ip nexthop bucket show nhid 2
800 ip nexthop bucket show nhid 1
807 ip nexthop bucket show nhid 2
859 ip route replace 198.51.100.0/24 nhid 1
Ddevlink_trap_l3_exceptions.sh465 ip route add $dip nhid 10
475 ip route del $dip nhid 10
Ddevlink_trap_l3_drops.sh666 ip -$flags route add $subnet nhid 1
/linux-6.6.21/net/bridge/
Dbr_vlan_tunnel.c212 tunnel_dst->u.tun_info.key.nhid = in br_handle_egress_vlan_tunnel()
/linux-6.6.21/drivers/net/netdevsim/
Dfib.c1376 u32 nhid; in nsim_nexthop_bucket_activity_write() local
1384 if (sscanf(buf, "%u %hu", &nhid, &bucket_index) != 2) in nsim_nexthop_bucket_activity_write()
1389 nexthop = rhashtable_lookup_fast(&data->nexthop_ht, &nhid, in nsim_nexthop_bucket_activity_write()
1404 nexthop_res_grp_activity_update(net, nhid, nexthop->occ, activity); in nsim_nexthop_bucket_activity_write()
/linux-6.6.21/include/net/
Dip_tunnels.h55 u32 nhid; member