Lines Matching refs:net_device
23 int (*open)(struct net_device *dev);
24 void (*close)(struct net_device *dev);
25 void (*start)(struct net_device *dev); /* if open & DCD */
26 void (*stop)(struct net_device *dev); /* if open & !DCD */
27 void (*detach)(struct net_device *dev);
28 int (*ioctl)(struct net_device *dev, struct ifreq *ifr);
29 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev);
31 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
40 int (*attach)(struct net_device *dev,
44 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
60 int hdlc_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd);
64 void unregister_hdlc_device(struct net_device *dev);
70 struct net_device *alloc_hdlcdev(void *priv);
72 static inline struct hdlc_device* dev_to_hdlc(struct net_device *dev) in dev_to_hdlc()
93 int hdlc_open(struct net_device *dev);
95 void hdlc_close(struct net_device *dev);
97 int hdlc_change_mtu(struct net_device *dev, int new_mtu);
99 netdev_tx_t hdlc_start_xmit(struct sk_buff *skb, struct net_device *dev);
101 int attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto,
104 int detach_hdlc_protocol(struct net_device *dev);
107 struct net_device *dev) in hdlc_type_trans()