Lines Matching refs:LL_HEADER_LENGTH

81 	skb_put(pskb, 2 + LL_HEADER_LENGTH);  in ctcm_unpack_skb()
90 skb_pull(pskb, LL_HEADER_LENGTH); in ctcm_unpack_skb()
111 if ((header->length <= LL_HEADER_LENGTH) || in ctcm_unpack_skb()
112 (len <= LL_HEADER_LENGTH)) { in ctcm_unpack_skb()
126 header->length -= LL_HEADER_LENGTH; in ctcm_unpack_skb()
127 len -= LL_HEADER_LENGTH; in ctcm_unpack_skb()
172 if (skb_tailroom(pskb) < LL_HEADER_LENGTH) { in ctcm_unpack_skb()
178 skb_put(pskb, LL_HEADER_LENGTH); in ctcm_unpack_skb()
481 int l = skb->len + LL_HEADER_LENGTH; in ctcm_transmit_skb()
491 memcpy(skb_push(skb, LL_HEADER_LENGTH), &header, in ctcm_transmit_skb()
492 LL_HEADER_LENGTH); in ctcm_transmit_skb()
506 header.length = skb->len + LL_HEADER_LENGTH; in ctcm_transmit_skb()
509 memcpy(skb_push(skb, LL_HEADER_LENGTH), &header, LL_HEADER_LENGTH); in ctcm_transmit_skb()
517 hi = ((unsigned long)skb_tail_pointer(skb) + LL_HEADER_LENGTH) >> 31; in ctcm_transmit_skb()
522 skb_pull(skb, LL_HEADER_LENGTH + 2); in ctcm_transmit_skb()
547 skb_pull(skb, LL_HEADER_LENGTH + 2); in ctcm_transmit_skb()
586 skb_pull(skb, LL_HEADER_LENGTH + 2); in ctcm_transmit_skb()
591 priv->stats.tx_bytes += skb->len - LL_HEADER_LENGTH; in ctcm_transmit_skb()
883 if (skb_headroom(skb) < (LL_HEADER_LENGTH + 2)) { in ctcm_tx()
886 CTCM_FUNTAIL, dev->name, LL_HEADER_LENGTH + 2); in ctcm_tx()
1037 if (new_mtu > max_bufsize - LL_HEADER_LENGTH - 2) in ctcm_change_mtu()
1039 dev->hard_header_len = LL_HEADER_LENGTH + 2; in ctcm_change_mtu()
1174 dev->mtu = CTCM_BUFSIZE_DEFAULT - LL_HEADER_LENGTH - 2; in ctcm_init_netdevice()
1176 dev->hard_header_len = LL_HEADER_LENGTH + 2; in ctcm_init_netdevice()