Lines Matching refs:LL_HEADER_LENGTH
80 skb_put(pskb, 2 + LL_HEADER_LENGTH); in ctcm_unpack_skb()
89 skb_pull(pskb, LL_HEADER_LENGTH); in ctcm_unpack_skb()
110 if ((header->length <= LL_HEADER_LENGTH) || in ctcm_unpack_skb()
111 (len <= LL_HEADER_LENGTH)) { in ctcm_unpack_skb()
125 header->length -= LL_HEADER_LENGTH; in ctcm_unpack_skb()
126 len -= LL_HEADER_LENGTH; in ctcm_unpack_skb()
171 if (skb_tailroom(pskb) < LL_HEADER_LENGTH) { in ctcm_unpack_skb()
177 skb_put(pskb, LL_HEADER_LENGTH); in ctcm_unpack_skb()
480 int l = skb->len + LL_HEADER_LENGTH; in ctcm_transmit_skb()
490 memcpy(skb_push(skb, LL_HEADER_LENGTH), &header, in ctcm_transmit_skb()
491 LL_HEADER_LENGTH); in ctcm_transmit_skb()
505 header.length = skb->len + LL_HEADER_LENGTH; in ctcm_transmit_skb()
508 memcpy(skb_push(skb, LL_HEADER_LENGTH), &header, LL_HEADER_LENGTH); in ctcm_transmit_skb()
516 hi = ((unsigned long)skb_tail_pointer(skb) + LL_HEADER_LENGTH) >> 31; in ctcm_transmit_skb()
521 skb_pull(skb, LL_HEADER_LENGTH + 2); in ctcm_transmit_skb()
546 skb_pull(skb, LL_HEADER_LENGTH + 2); in ctcm_transmit_skb()
585 skb_pull(skb, LL_HEADER_LENGTH + 2); in ctcm_transmit_skb()
590 priv->stats.tx_bytes += skb->len - LL_HEADER_LENGTH; in ctcm_transmit_skb()
889 if (skb_headroom(skb) < (LL_HEADER_LENGTH + 2)) { in ctcm_tx()
892 CTCM_FUNTAIL, dev->name, LL_HEADER_LENGTH + 2); in ctcm_tx()
1046 if (new_mtu > max_bufsize - LL_HEADER_LENGTH - 2) in ctcm_change_mtu()
1048 dev->hard_header_len = LL_HEADER_LENGTH + 2; in ctcm_change_mtu()
1179 dev->mtu = CTCM_BUFSIZE_DEFAULT - LL_HEADER_LENGTH - 2; in ctcm_init_netdevice()
1181 dev->hard_header_len = LL_HEADER_LENGTH + 2; in ctcm_init_netdevice()