Lines Matching defs:packet
63 // max transmit packet number per transmit
65 // max packet length
84 struct gl_packet *packet;
91 // get the packet count of the received skb
94 dbg("genelink: invalid received packet count %u", count);
98 // set the current packet pointer to the first packet
99 packet = &header->packets;
101 // decrement the length for the packet count size 4 bytes
105 // get the packet length
106 size = le32_to_cpu(packet->packet_length);
108 // this may be a broken packet
114 // allocate the skb for the individual packet
118 // copy the packet data to the new skb
120 packet->packet_data, size);
124 // advance to the next packet
125 packet = (struct gl_packet *)&packet->packet_data[size];
132 // skip the packet length field 4 bytes
170 // attach the packet count to the header