/linux/tools/testing/selftests/net/ |
H A D | fdb_flush.sh | 301 fdb_add_mac_pool_1 vx10 nhid $nhid_1 302 fdb_add_mac_pool_2 vx10 nhid $nhid_2 304 fdb_check_n_entries_by_dev_filter vx10 $mac_pool_1_len nhid $nhid_1 305 fdb_check_n_entries_by_dev_filter vx10 $mac_pool_2_len nhid $nhid_2 310 fdb_check_n_entries_by_dev_filter vx10 $mac_pool_1_len nhid $nhid_1 313 fdb_check_n_entries_by_dev_filter vx10 0 nhid $nhid_2 322 fdb_check_n_entries_by_dev_filter vx10 0 nhid 517 local nhid=100 523 $IP nexthop add id $nhid group 10 fdb 525 fdb_add_mac_pool_1 vx10 nhid $nhid $flag $state_1 [all …]
|
H A D | fib_nexthop_multiprefix.sh | 128 ip -netns ${h[0]} ro add 172.16.10${i}.0/24 nhid 4 131 ip -netns ${h[0]} -6 ro add 2001:db8:10${i}::/64 nhid 6 283 ip -netns ${h0} ro del 172.16.102.0/24 nhid 4 284 ip -netns ${h0} -6 ro del 2001:db8:102::/64 nhid 6
|
H A D | icmp_redirect.sh | 354 run_cmd ip -netns $r1 ro add ${H2_N2} nhid 1 357 run_cmd ip -netns $r1 -6 ro add ${H2_N2_6} nhid 2 361 run_cmd ip -netns $h1 ro add ${H1_VRF_ARG} ${H2_N2} nhid 1 364 run_cmd ip -netns $h1 -6 ro add ${H1_VRF_ARG} ${H2_N2_6} nhid 2
|
H A D | fib_nexthop_nongw.sh | 87 ip -n $h1 route add 192.168.1.1 nhid 1
|
H A D | pmtu.sh | 752 [ "${nhid}" = "" ] && nhid="${i}" && continue 758 ip -n ${ns_name} -${fam} nexthop add id ${nhid} via ${gw} dev ${dev} 760 ns=""; fam=""; nhid=""; gw=""; dev="" 768 [ "${nhid}" = "" ] && nhid="${i}" 772 ip -n "${ns_name}" -"${fam}" route add "${addr}" table "${rt_table}" nhid "${nhid}" 774 ns=""; fam=""; addr=""; nhid="" 1003 run_cmd ${ns_a} ip route add ${host4_b_addr} src ${host4_a_addr} nhid 403 1010 run_cmd ${ns_b} ip route add ${host4_a_addr} src ${host4_b_addr} nhid 403
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | router_mpath_nh.sh | 210 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103 215 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106 220 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203 225 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206 347 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1001 351 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1002 355 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 103 372 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1001 376 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1002 380 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 106
|
H A D | router_nh.sh | 116 ip route replace 192.0.2.0/24 nhid 101 117 ip route replace 2001:db8:1::/64 nhid 101 118 ip route replace 198.51.100.0/24 nhid 102 119 ip route replace 2001:db8:2::/64 nhid 102
|
H A D | router_mpath_seed.sh | 102 ip -4 route add 192.0.2.32/28 vrf v$rp11 nhid 1000 103 ip -6 route add 2001:db8:3::/64 vrf v$rp11 nhid 2000 110 ip -6 route del 2001:db8:3::/64 vrf v$rp11 nhid 2000 111 ip -4 route del 192.0.2.32/28 vrf v$rp11 nhid 1000
|
H A D | gre_multipath_nh_res.sh | 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 153 ip route add vrf v$ol2 192.0.2.0/28 nhid 203 154 ip route add vrf v$ol2 2001:db8:1::/64 nhid 203
|
H A D | gre_multipath_nh.sh | 105 ip route add vrf v$ol1 192.0.2.16/28 nhid 103 106 ip route add vrf v$ol1 2001:db8:2::/64 nhid 103 151 ip route add vrf v$ol2 192.0.2.0/28 nhid 203 152 ip route add vrf v$ol2 2001:db8:1::/64 nhid 203
|
H A D | router_mpath_nh_lib.sh | 123 local nhid=$1; shift 125 ip nexthop replace id 9999 group "$nhid,65535" &>/dev/null
|
H A D | router_mpath_nh_res.sh | 209 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103 215 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106 221 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203 227 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | nexthop.sh | 74 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/Documentation/networking/ |
H A D | nexthop-group-resilient.rst | 262 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/drivers/net/vxlan/ |
H A D | vxlan_core.c | 823 u32 nhid, struct netlink_ext_ack *extack) in vxlan_fdb_nh_update() argument 829 if (old_nh && old_nh->id == nhid) in vxlan_fdb_nh_update() 832 nh = nexthop_find_by_id(vxlan->net, nhid); in vxlan_fdb_nh_update() 888 u32 nhid, struct vxlan_fdb **fdb, in vxlan_fdb_create() argument 904 if (nhid) in vxlan_fdb_create() 905 rc = vxlan_fdb_nh_update(vxlan, f, nhid, extack); in vxlan_fdb_create() 982 struct vxlan_fdb *f, u32 nhid, in vxlan_fdb_update_existing() argument 993 if (nhid && !rcu_access_pointer(f->nh)) { in vxlan_fdb_update_existing() 999 if (nhid && (flags & NLM_F_APPEND)) { in vxlan_fdb_update_existing() 1026 if (nhid) { in vxlan_fdb_update_existing() [all …]
|
H A D | vxlan_private.h | 182 u32 nhid, struct vxlan_fdb **fdb, 194 __u32 ifindex, __u16 ndm_flags, u32 nhid,
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rtnetlink.sh | 776 ip nexthop bucket show nhid 1 779 ip nexthop bucket show nhid 2 785 ip nexthop bucket show nhid 1 791 ip nexthop bucket show nhid 2 797 ip nexthop bucket show nhid 1 804 ip nexthop bucket show nhid 2 856 ip route replace 198.51.100.0/24 nhid 1
|
H A D | devlink_trap_l3_exceptions.sh | 465 ip route add $dip nhid 10 475 ip route del $dip nhid 10
|
H A D | devlink_trap_l3_drops.sh | 666 ip -$flags route add $subnet nhid 1
|
/linux/net/bridge/ |
H A D | br_vlan_tunnel.c | 215 tunnel_dst->u.tun_info.key.nhid = in br_handle_egress_vlan_tunnel()
|
/linux/drivers/net/netdevsim/ |
H A D | fib.c | 1376 u32 nhid; in nsim_nexthop_bucket_activity_write() local 1386 if (sscanf(buf, "%u %hu", &nhid, &bucket_index) != 2) in nsim_nexthop_bucket_activity_write() 1391 nexthop = rhashtable_lookup_fast(&data->nexthop_ht, &nhid, in nsim_nexthop_bucket_activity_write() 1406 nexthop_res_grp_activity_update(net, nhid, nexthop->occ, activity); in nsim_nexthop_bucket_activity_write()
|
/linux/include/net/ |
H A D | ip_tunnels.h | 71 u32 nhid; member
|