Lines Matching defs:eth_dev
49 struct eth_dev { struct
53 spinlock_t lock;
54 struct gether *port_usb;
56 struct net_device *net;
57 struct usb_gadget *gadget;
59 spinlock_t req_lock; /* guard {rx,tx}_reqs */
60 struct list_head tx_reqs, rx_reqs;
61 atomic_t tx_qlen;
63 struct sk_buff_head rx_frames;
65 unsigned header_len;
66 struct sk_buff *(*wrap)(struct gether *, struct sk_buff *skb);
67 int (*unwrap)(struct gether *,
71 struct work_struct work;
73 unsigned long todo;
76 bool zlp;
77 u8 host_mac[ETH_ALEN];