Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Dfdb_flush.sh301 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 Dfib_nexthop_multiprefix.sh128 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 Dicmp_redirect.sh352 run_cmd ip -netns $r1 ro add ${H2_N2} nhid 1
355 run_cmd ip -netns $r1 -6 ro add ${H2_N2_6} nhid 2
359 run_cmd ip -netns $h1 ro add ${H1_VRF_ARG} ${H2_N2} nhid 1
362 run_cmd ip -netns $h1 -6 ro add ${H1_VRF_ARG} ${H2_N2_6} nhid 2
H A Dfib_nexthop_nongw.sh87 ip -n $h1 route add 192.168.1.1 nhid 1
H A Dpmtu.sh751 [ "${nhid}" = "" ] && nhid="${i}" && continue
757 ip -n ${ns_name} -${fam} nexthop add id ${nhid} via ${gw} dev ${dev}
759 ns=""; fam=""; nhid=""; gw=""; dev=""
767 [ "${nhid}" = "" ] && nhid="${i}"
771 ip -n "${ns_name}" -"${fam}" route add "${addr}" table "${rt_table}" nhid "${nhid}"
773 ns=""; fam=""; addr=""; nhid=""
1002 run_cmd ${ns_a} ip route add ${host4_b_addr} src ${host4_a_addr} nhid 403
1009 run_cmd ${ns_b} ip route add ${host4_a_addr} src ${host4_b_addr} nhid 403
/linux/tools/testing/selftests/net/forwarding/
H A Drouter_mpath_nh.sh210 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 Drouter_nh.sh116 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 Drouter_mpath_seed.sh102 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 Dgre_multipath_nh_res.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
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 Dgre_multipath_nh.sh105 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 Drouter_mpath_nh_lib.sh123 local nhid=$1; shift
125 ip nexthop replace id 9999 group "$nhid,65535" &>/dev/null
H A Drouter_mpath_nh_res.sh209 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 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/Documentation/networking/
H A 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/drivers/net/vxlan/
H A Dvxlan_core.c798 u32 nhid, struct netlink_ext_ack *extack) in vxlan_fdb_nh_update() argument
804 if (old_nh && old_nh->id == nhid) in vxlan_fdb_nh_update()
807 nh = nexthop_find_by_id(vxlan->net, nhid); in vxlan_fdb_nh_update()
863 u32 nhid, struct vxlan_fdb **fdb, in vxlan_fdb_create() argument
879 if (nhid) in vxlan_fdb_create()
880 rc = vxlan_fdb_nh_update(vxlan, f, nhid, extack); in vxlan_fdb_create()
976 struct vxlan_fdb *f, u32 nhid, in vxlan_fdb_update_existing() argument
987 if (nhid && !rcu_access_pointer(f->nh)) { in vxlan_fdb_update_existing()
993 if (nhid && (flags & NLM_F_APPEND)) { in vxlan_fdb_update_existing()
1024 if (nhid) { in vxlan_fdb_update_existing()
1080 vxlan_fdb_update_create(struct vxlan_dev * vxlan,const u8 * mac,union vxlan_addr * ip,__u16 state,__u16 flags,__be16 port,__be32 src_vni,__be32 vni,__u32 ifindex,__u16 ndm_flags,u32 nhid,bool swdev_notify,struct netlink_ext_ack * extack) vxlan_fdb_update_create() argument
1116 vxlan_fdb_update(struct vxlan_dev * vxlan,const u8 * mac,union vxlan_addr * ip,__u16 state,__u16 flags,__be16 port,__be32 src_vni,__be32 vni,__u32 ifindex,__u16 ndm_flags,u32 nhid,bool swdev_notify,struct netlink_ext_ack * extack) vxlan_fdb_update() argument
1154 vxlan_fdb_parse(struct nlattr * tb[],struct vxlan_dev * vxlan,union vxlan_addr * ip,__be16 * port,__be32 * src_vni,__be32 * vni,u32 * ifindex,u32 * nhid,struct netlink_ext_ack * extack) vxlan_fdb_parse() argument
1249 u32 ifindex, nhid; vxlan_fdb_add() local
1329 u32 ifindex, nhid; vxlan_fdb_delete() local
2704 vxlan_xmit_nhid(struct sk_buff * skb,struct net_device * dev,u32 nhid,__be32 vni) vxlan_xmit_nhid() argument
2756 u32 nhid = 0; vxlan_xmit() local
3008 u32 nhid; global() member
3021 vxlan_fdb_nhid_matches(const struct vxlan_fdb * f,u32 nhid) vxlan_fdb_nhid_matches() argument
[all...]
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_fib_nexthop.sh133 ip -net "$nsrouter" -6 route add dead:dead::/64 nhid 1
141 ip -net "$nsrouter" -6 route add dead:dead::/64 nhid 100
/linux/net/bridge/
H A Dbr_vlan_tunnel.c218 tunnel_dst->u.tun_info.key.nhid = in br_handle_egress_vlan_tunnel()
/linux/include/net/
H A Dip_tunnels.h81 u32 nhid; member