Lines Matching defs:eth_dev
52 struct eth_dev { struct
55 spinlock_t lock;
56 struct gether *port_usb;
58 struct net_device *net;
59 struct usb_gadget *gadget;
61 spinlock_t req_lock; /* guard {rx,tx}_reqs */
62 struct list_head tx_reqs, rx_reqs;
63 atomic_t tx_qlen;
65 struct sk_buff_head rx_frames;
67 unsigned qmult;
69 unsigned header_len;
70 struct sk_buff *(*wrap)(struct gether *, struct sk_buff *skb);
71 int (*unwrap)(struct gether *,
75 struct work_struct work;
77 unsigned long todo;
80 bool zlp;
81 bool no_skb_reserve;
82 u8 host_mac[ETH_ALEN];
83 u8 dev_mac[ETH_ALEN];