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

/linux-master/tools/testing/selftests/net/forwarding/
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_nh.sh209 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
214 ip route add 2001:db8:2::/64 vrf vrf-r1 nhid 106
219 ip route add 192.0.2.0/24 vrf vrf-r2 nhid 203
224 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
323 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1001
327 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 1002
331 ip route replace 198.51.100.0/24 vrf vrf-r1 nhid 103
348 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1001
352 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 1002
356 ip route replace 2001:db8:2::/64 vrf vrf-r1 nhid 10
[all...]
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_res.sh208 ip route add 198.51.100.0/24 vrf vrf-r1 nhid 103
214 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
226 ip route add 2001:db8:1::/64 vrf vrf-r2 nhid 206
/linux-master/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
307 run_cmd "$BRIDGE fdb flush dev vx10 nhid $nhid_2"
308 log_test $? 0 "Flush FDB by dev vx10 and nhid $nhid_2"
310 fdb_check_n_entries_by_dev_filter vx10 $mac_pool_1_len nhid $nhid_1
311 log_test $? 0 "Test entries with nhid $nhid_1"
313 fdb_check_n_entries_by_dev_filter vx10 0 nhid $nhid_2
314 log_test $? 0 "Test entries with nhid
[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 Dfib_nexthop_nongw.sh87 ip -n $h1 route add 192.168.1.1 nhid 1
H A Dicmp_redirect.sh354 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 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-master/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 | j
[all...]
/linux-master/drivers/net/vxlan/
H A Dvxlan_core.c824 u32 nhid, struct netlink_ext_ack *extack)
830 if (old_nh && old_nh->id == nhid)
833 nh = nexthop_find_by_id(vxlan->net, nhid);
889 u32 nhid, struct vxlan_fdb **fdb,
905 if (nhid)
906 rc = vxlan_fdb_nh_update(vxlan, f, nhid, extack);
983 struct vxlan_fdb *f, u32 nhid,
994 if (nhid && !rcu_access_pointer(f->nh)) {
1000 if (nhid && (flags & NLM_F_APPEND)) {
1027 if (nhid) {
823 vxlan_fdb_nh_update(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, u32 nhid, struct netlink_ext_ack *extack) argument
885 vxlan_fdb_create(struct vxlan_dev *vxlan, const u8 *mac, union vxlan_addr *ip, __u16 state, __be16 port, __be32 src_vni, __be32 vni, __u32 ifindex, __u16 ndm_flags, u32 nhid, struct vxlan_fdb **fdb, struct netlink_ext_ack *extack) argument
978 vxlan_fdb_update_existing(struct vxlan_dev *vxlan, union vxlan_addr *ip, __u16 state, __u16 flags, __be16 port, __be32 vni, __u32 ifindex, __u16 ndm_flags, struct vxlan_fdb *f, u32 nhid, bool swdev_notify, struct netlink_ext_ack *extack) argument
1078 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) argument
1115 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) argument
1155 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) argument
1255 u32 ifindex, nhid; local
1329 u32 ifindex, nhid; local
2636 vxlan_xmit_nhid(struct sk_buff *skb, struct net_device *dev, u32 nhid, __be32 vni) argument
2690 u32 nhid = 0; local
2945 u32 nhid; member in struct:vxlan_fdb_flush_desc
2957 vxlan_fdb_nhid_matches(const struct vxlan_fdb *f, u32 nhid) argument
[all...]
H A Dvxlan_private.h182 u32 nhid, struct vxlan_fdb **fdb,
194 __u32 ifindex, __u16 ndm_flags, u32 nhid,
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A 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
H A Ddevlink_trap_l3_exceptions.sh465 ip route add $dip nhid 10
475 ip route del $dip nhid 10
H A Ddevlink_trap_l3_drops.sh666 ip -$flags route add $subnet nhid 1
/linux-master/net/bridge/
H A Dbr_vlan_tunnel.c215 tunnel_dst->u.tun_info.key.nhid =
/linux-master/drivers/net/netdevsim/
H A Dfib.c1376 u32 nhid; local
1384 if (sscanf(buf, "%u %hu", &nhid, &bucket_index) != 2)
1389 nexthop = rhashtable_lookup_fast(&data->nexthop_ht, &nhid,
1404 nexthop_res_grp_activity_update(net, nhid, nexthop->occ, activity);
/linux-master/include/net/
H A Dip_tunnels.h71 u32 nhid; member in struct:ip_tunnel_key

Completed in 378 milliseconds