Home
last modified time | relevance | path

Searched refs:EEM_HEAD (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dcdc_eem.c37 #define EEM_HEAD 2 /* 2 byte header */ macro
79 dev->net->hard_header_len += EEM_HEAD + ETH_FCS_LEN + VLAN_HLEN; in eem_bind()
103 if (!((len + EEM_HEAD + ETH_FCS_LEN) % dev->maxpacket)) in eem_tx_fixup()
111 (headroom >= EEM_HEAD)) in eem_tx_fixup()
115 > (EEM_HEAD + ETH_FCS_LEN + padlen)) { in eem_tx_fixup()
117 EEM_HEAD, in eem_tx_fixup()
125 skb2 = skb_copy_expand(skb, EEM_HEAD, ETH_FCS_LEN + padlen, flags); in eem_tx_fixup()
173 if (skb->len < EEM_HEAD) in eem_rx_fixup()
182 skb_pull(skb, EEM_HEAD); in eem_rx_fixup()