Lines Matching refs:nhid

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()
1027 rc = vxlan_fdb_nh_update(vxlan, f, nhid, extack); in vxlan_fdb_update_existing()
1066 if (nhid) in vxlan_fdb_update_existing()
1081 __u32 ifindex, __u16 ndm_flags, u32 nhid, in vxlan_fdb_update_create() argument
1096 vni, ifindex, fdb_flags, nhid, &f, extack); in vxlan_fdb_update_create()
1118 __u32 ifindex, __u16 ndm_flags, u32 nhid, in vxlan_fdb_update() argument
1134 nhid, swdev_notify, extack); in vxlan_fdb_update()
1141 ndm_flags, nhid, swdev_notify, in vxlan_fdb_update()
1156 __be32 *vni, u32 *ifindex, u32 *nhid, in vxlan_fdb_parse() argument
1236 *nhid = nla_get_u32(tb[NDA_NH_ID]); in vxlan_fdb_parse()
1238 *nhid = 0; in vxlan_fdb_parse()
1254 u32 ifindex, nhid; in vxlan_fdb_add() local
1268 &nhid, extack); in vxlan_fdb_add()
1280 nhid, true, extack); in vxlan_fdb_add()
1328 u32 ifindex, nhid; in vxlan_fdb_delete() local
1334 &nhid, extack); in vxlan_fdb_delete()
2643 u32 nhid, __be32 vni) in vxlan_xmit_nhid() argument
2655 nh = nexthop_find_by_id(dev_net(dev), nhid); in vxlan_xmit_nhid()
2695 u32 nhid = 0; in vxlan_xmit() local
2706 nhid = info->key.nhid; in vxlan_xmit()
2734 if (nhid) in vxlan_xmit()
2735 return vxlan_xmit_nhid(skb, dev, nhid, vni); in vxlan_xmit()
2951 u32 nhid; member
2963 static bool vxlan_fdb_nhid_matches(const struct vxlan_fdb *f, u32 nhid) in vxlan_fdb_nhid_matches() argument
2967 return nh && nh->id == nhid; in vxlan_fdb_nhid_matches()
2986 if (desc->nhid && !vxlan_fdb_nhid_matches(f, desc->nhid)) in vxlan_fdb_flush_matches()
3123 desc.nhid = nla_get_u32(tb[NDA_NH_ID]); in vxlan_fdb_delete_bulk()