Lines Matching refs:fdb
250 static inline struct vxlan_rdst *first_remote_rcu(struct vxlan_fdb *fdb) in first_remote_rcu() argument
252 return list_entry_rcu(fdb->remotes.next, struct vxlan_rdst, list); in first_remote_rcu()
255 static inline struct vxlan_rdst *first_remote_rtnl(struct vxlan_fdb *fdb) in first_remote_rtnl() argument
257 return list_first_entry(&fdb->remotes, struct vxlan_rdst, list); in first_remote_rtnl()
307 const struct vxlan_fdb *fdb, in vxlan_fdb_info() argument
329 send_eth = !is_zero_ether_addr(fdb->eth_addr); in vxlan_fdb_info()
332 ndm->ndm_state = fdb->state; in vxlan_fdb_info()
334 ndm->ndm_flags = fdb->flags; in vxlan_fdb_info()
342 if (send_eth && nla_put(skb, NDA_LLADDR, ETH_ALEN, &fdb->eth_addr)) in vxlan_fdb_info()
358 ci.ndm_used = jiffies_to_clock_t(now - fdb->used); in vxlan_fdb_info()
360 ci.ndm_updated = jiffies_to_clock_t(now - fdb->updated); in vxlan_fdb_info()
386 static void vxlan_fdb_notify(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, in vxlan_fdb_notify() argument
397 err = vxlan_fdb_info(skb, vxlan, fdb, 0, 0, type, 0, rd); in vxlan_fdb_notify()