Lines Matching refs:dev
227 skb->dev = iucv->hs_dev; in afiucv_hs_send()
228 if (!skb->dev) { in afiucv_hs_send()
233 dev_hard_header(skb, skb->dev, ETH_P_AF_IUCV, NULL, NULL, skb->len); in afiucv_hs_send()
235 if (!(skb->dev->flags & IFF_UP) || !netif_carrier_ok(skb->dev)) { in afiucv_hs_send()
239 if (skb->len > skb->dev->mtu) { in afiucv_hs_send()
244 err = pskb_trim(skb, skb->dev->mtu); in afiucv_hs_send()
572 struct net_device *dev; in iucv_sock_bind() local
604 for_each_netdev_rcu(&init_net, dev) { in iucv_sock_bind()
605 if (!memcmp(dev->perm_addr, uid, 8)) { in iucv_sock_bind()
612 sk->sk_bound_dev_if = dev->ifindex; in iucv_sock_bind()
613 iucv->hs_dev = dev; in iucv_sock_bind()
614 dev_hold(dev); in iucv_sock_bind()
2028 static int afiucv_hs_rcv(struct sk_buff *skb, struct net_device *dev, in afiucv_hs_rcv() argument