Lines Matching refs:fdb
216 static inline struct vxlan_rdst *first_remote_rcu(struct vxlan_fdb *fdb) in first_remote_rcu() argument
218 return list_entry_rcu(fdb->remotes.next, struct vxlan_rdst, list); in first_remote_rcu()
221 static inline struct vxlan_rdst *first_remote_rtnl(struct vxlan_fdb *fdb) in first_remote_rtnl() argument
223 return list_first_entry(&fdb->remotes, struct vxlan_rdst, list); in first_remote_rtnl()
273 const struct vxlan_fdb *fdb, in vxlan_fdb_info() argument
295 send_eth = !is_zero_ether_addr(fdb->eth_addr); in vxlan_fdb_info()
298 ndm->ndm_state = fdb->state; in vxlan_fdb_info()
300 ndm->ndm_flags = fdb->flags; in vxlan_fdb_info()
308 if (send_eth && nla_put(skb, NDA_LLADDR, ETH_ALEN, &fdb->eth_addr)) in vxlan_fdb_info()
324 ci.ndm_used = jiffies_to_clock_t(now - fdb->used); in vxlan_fdb_info()
326 ci.ndm_updated = jiffies_to_clock_t(now - fdb->updated); in vxlan_fdb_info()
352 static void vxlan_fdb_notify(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, in vxlan_fdb_notify() argument
363 err = vxlan_fdb_info(skb, vxlan, fdb, 0, 0, type, 0, rd); in vxlan_fdb_notify()