Lines Matching refs:LL_HEADER_LENGTH
380 #define LL_HEADER_LENGTH (sizeof(ll_header)) macro
775 skb_put(pskb, 2 + LL_HEADER_LENGTH); in ctc_unpack_skb()
783 skb_pull(pskb, LL_HEADER_LENGTH); in ctc_unpack_skb()
813 if (header->length <= LL_HEADER_LENGTH) { in ctc_unpack_skb()
834 header->length -= LL_HEADER_LENGTH; in ctc_unpack_skb()
835 len -= LL_HEADER_LENGTH; in ctc_unpack_skb()
893 if (skb_tailroom(pskb) < LL_HEADER_LENGTH) { in ctc_unpack_skb()
907 skb_put(pskb, LL_HEADER_LENGTH); in ctc_unpack_skb()
1121 privptr->stats.tx_bytes += skb->len - LL_HEADER_LENGTH; in ch_action_txdone()
1150 privptr->stats.tx_bytes += skb->len - LL_HEADER_LENGTH; in ch_action_txdone()
2641 int l = skb->len + LL_HEADER_LENGTH; in transmit_skb()
2651 memcpy(skb_push(skb, LL_HEADER_LENGTH), &header, in transmit_skb()
2652 LL_HEADER_LENGTH); in transmit_skb()
2669 header.length = skb->len + LL_HEADER_LENGTH; in transmit_skb()
2672 memcpy(skb_push(skb, LL_HEADER_LENGTH), &header, in transmit_skb()
2673 LL_HEADER_LENGTH); in transmit_skb()
2681 hi = ((unsigned long)skb->tail + LL_HEADER_LENGTH) >> 31; in transmit_skb()
2686 skb_pull(skb, LL_HEADER_LENGTH + 2); in transmit_skb()
2711 skb_pull(skb, LL_HEADER_LENGTH + 2); in transmit_skb()
2746 skb_pull(skb, LL_HEADER_LENGTH + 2); in transmit_skb()
2753 skb->len - LL_HEADER_LENGTH; in transmit_skb()
2819 if (skb_headroom(skb) < (LL_HEADER_LENGTH + 2)) { in ctc_tx()
2823 dev->name, LL_HEADER_LENGTH + 2); in ctc_tx()
2872 LL_HEADER_LENGTH - 2))) in ctc_change_mtu()
2875 dev->hard_header_len = LL_HEADER_LENGTH + 2; in ctc_change_mtu()
2978 (bs1 < (dev->mtu + LL_HEADER_LENGTH + 2))) in ctc_ctrl_write()
2980 if (bs1 < (576 + LL_HEADER_LENGTH + 2)) in ctc_ctrl_write()
2987 dev->mtu = bs1 - LL_HEADER_LENGTH - 2; in ctc_ctrl_write()
3830 dev->mtu = CTC_BUFSIZE_DEFAULT - LL_HEADER_LENGTH - 2; in ctc_init_netdevice()
3836 dev->hard_header_len = LL_HEADER_LENGTH + 2; in ctc_init_netdevice()