Lines Matching defs:dev
22 static int raw_ioctl(struct net_device *dev, struct if_settings *ifs);
24 static __be16 raw_type_trans(struct sk_buff *skb, struct net_device *dev)
36 static int raw_ioctl(struct net_device *dev, struct if_settings *ifs)
41 hdlc_device *hdlc = dev_to_hdlc(dev);
46 if (dev_to_hdlc(dev)->proto != &proto)
61 if (dev->flags & IFF_UP)
73 result = hdlc->attach(dev, new_settings.encoding,
78 result = attach_hdlc_protocol(dev, &proto,
83 dev->type = ARPHRD_RAWHDLC;
84 call_netdevice_notifiers(NETDEV_POST_TYPE_CHANGE, dev);
85 netif_dormant_off(dev);