Lines Matching refs:netkit_priv
74 static struct netkit *netkit_priv(const struct net_device *dev) in netkit_priv() function
82 struct netkit *nk = netkit_priv(dev); in netkit_xmit()
135 struct netkit *nk = netkit_priv(dev); in netkit_open()
149 struct netkit *nk = netkit_priv(dev); in netkit_close()
160 struct netkit *nk = netkit_priv(dev); in netkit_get_iflink()
179 struct netkit *nk = netkit_priv(dev); in netkit_set_macaddr()
189 struct netkit *nk = netkit_priv(dev), *nk2; in netkit_set_headroom()
200 nk2 = netkit_priv(peer); in netkit_set_headroom()
212 return rcu_dereference(netkit_priv(dev)->peer); in netkit_peer_dev()
294 struct netkit *nk = netkit_priv(dev); in netkit_get_link_net()
399 nk = netkit_priv(peer); in netkit_new_link()
424 nk = netkit_priv(dev); in netkit_new_link()
438 rcu_assign_pointer(netkit_priv(dev)->peer, peer); in netkit_new_link()
439 rcu_assign_pointer(netkit_priv(peer)->peer, dev); in netkit_new_link()
452 struct netkit *nk = netkit_priv(dev); in netkit_entry_fetch()
467 struct netkit *nk = netkit_priv(dev); in netkit_entry_update()
499 nk = netkit_priv(dev); in netkit_dev_fetch()
833 struct netkit *nk = netkit_priv(dev); in netkit_del_link()
839 nk = netkit_priv(peer); in netkit_del_link()
849 struct netkit *nk = netkit_priv(dev); in netkit_change_link()
902 nk = netkit_priv(peer); in netkit_change_link()
922 struct netkit *nk = netkit_priv(dev); in netkit_fill_info()
935 nk = netkit_priv(peer); in netkit_fill_info()