Lines Matching defs:eth_dev
51 struct eth_dev { struct
54 spinlock_t lock;
55 struct gether *port_usb;
57 struct net_device *net;
58 struct usb_gadget *gadget;
60 spinlock_t req_lock; /* guard {rx,tx}_reqs */
61 struct list_head tx_reqs, rx_reqs;
62 atomic_t tx_qlen;
64 struct sk_buff_head rx_frames;
66 unsigned qmult;
68 unsigned header_len;
69 struct sk_buff *(*wrap)(struct gether *, struct sk_buff *skb);
70 int (*unwrap)(struct gether *,
74 struct work_struct work;
76 unsigned long todo;
79 bool zlp;
80 u8 host_mac[ETH_ALEN];
81 u8 dev_mac[ETH_ALEN];