Lines Matching refs:packet_len
46 __le16 packet_len; // payload size (including ethhdr) member
343 u16 hdr_len, packet_len; in net1080_rx_fixup() local
360 packet_len = le16_to_cpup(&header->packet_len); in net1080_rx_fixup()
361 if (FRAMED_SIZE(packet_len) > NC_MAX_PACKET) { in net1080_rx_fixup()
363 netdev_dbg(dev->net, "packet too big, %d\n", packet_len); in net1080_rx_fixup()
383 if ((packet_len & 0x01) == 0) { in net1080_rx_fixup()
384 if (skb->data [packet_len] != PAD_BYTE) { in net1080_rx_fixup()
391 if (skb->len != packet_len) { in net1080_rx_fixup()
394 skb->len, packet_len); in net1080_rx_fixup()
407 header->packet_len, header->packet_id); in net1080_rx_fixup()
458 header->packet_len = cpu_to_le16(len); in net1080_tx_fixup()
468 header->hdr_len, header->packet_len, in net1080_tx_fixup()