Searched refs:dev_curr (Results 1 – 2 of 2) sorted by relevance
3157 struct net_device *dev_curr; in packet_do_bind() local3193 dev_curr = po->prot_hook.dev; in packet_do_bind()3195 need_rehook = proto_curr != proto || dev_curr != dev; in packet_do_bind()3206 dev_curr = po->prot_hook.dev; in packet_do_bind()3227 dev_put(dev_curr); in packet_do_bind()
5774 static struct net_device *__dev_via_ifindex(struct net_device *dev_curr, in __dev_via_ifindex() argument5777 struct net *netns = dev_net(dev_curr); in __dev_via_ifindex()5781 return dev_curr; in __dev_via_ifindex()