Lines Matching refs:KALMIA_HEADER_LENGTH
49 #define KALMIA_HEADER_LENGTH 6 macro
144 dev->net->hard_header_len += KALMIA_HEADER_LENGTH; in kalmia_bind()
171 >= KALMIA_HEADER_LENGTH)) in kalmia_tx_fixup()
174 if ((headroom + tailroom) > (KALMIA_HEADER_LENGTH in kalmia_tx_fixup()
176 skb->data = memmove(skb->head + KALMIA_HEADER_LENGTH, in kalmia_tx_fixup()
183 skb2 = skb_copy_expand(skb, KALMIA_HEADER_LENGTH, in kalmia_tx_fixup()
192 header_start = skb_push(skb, KALMIA_HEADER_LENGTH); in kalmia_tx_fixup()
193 ether_type_1 = header_start[KALMIA_HEADER_LENGTH + 12]; in kalmia_tx_fixup()
194 ether_type_2 = header_start[KALMIA_HEADER_LENGTH + 13]; in kalmia_tx_fixup()
202 content_len = skb->len - KALMIA_HEADER_LENGTH; in kalmia_tx_fixup()
238 if (skb->len < KALMIA_HEADER_LENGTH) in kalmia_rx_fixup()
257 skb->len - KALMIA_HEADER_LENGTH); in kalmia_rx_fixup()
263 skb->len - KALMIA_HEADER_LENGTH); in kalmia_rx_fixup()
270 header_start, skb->len - KALMIA_HEADER_LENGTH); in kalmia_rx_fixup()
273 usb_packet_length = skb->len - (2 * KALMIA_HEADER_LENGTH); in kalmia_rx_fixup()
275 skb_pull(skb, KALMIA_HEADER_LENGTH); in kalmia_rx_fixup()
280 + KALMIA_HEADER_LENGTH; in kalmia_rx_fixup()
295 skb->len - KALMIA_HEADER_LENGTH); in kalmia_rx_fixup()