Lines Matching refs:hdr_len
45 __le16 hdr_len; // sizeof nc_header (LE, all) member
343 u16 hdr_len, packet_len; in net1080_rx_fixup() local
359 hdr_len = le16_to_cpup(&header->hdr_len); in net1080_rx_fixup()
366 } else if (hdr_len < MIN_HEADER) { in net1080_rx_fixup()
368 netdev_dbg(dev->net, "header too short, %d\n", hdr_len); in net1080_rx_fixup()
371 } else if (hdr_len > MIN_HEADER) { in net1080_rx_fixup()
373 netdev_dbg(dev->net, "header OOB, %d bytes\n", hdr_len - MIN_HEADER); in net1080_rx_fixup()
377 skb_pull(skb, hdr_len); in net1080_rx_fixup()
406 netdev_dbg(dev->net, "frame <rx h %d p %d id %d\n", header->hdr_len, in net1080_rx_fixup()
457 header->hdr_len = cpu_to_le16(sizeof (*header)); in net1080_tx_fixup()
468 header->hdr_len, header->packet_len, in net1080_tx_fixup()