Lines Matching defs:packet
49 // max transmit packet number per transmit
51 // max packet length
70 struct gl_packet *packet;
81 // get the packet count of the received skb
85 "genelink: invalid received packet count %u\n",
90 // set the current packet pointer to the first packet
91 packet = &header->packets;
93 // decrement the length for the packet count size 4 bytes
97 // get the packet length
98 size = le32_to_cpu(packet->packet_length);
100 // this may be a broken packet
107 // allocate the skb for the individual packet
111 // copy the packet data to the new skb
112 skb_put_data(gl_skb, packet->packet_data, size);
116 // advance to the next packet
117 packet = (struct gl_packet *)&packet->packet_data[size];
124 // skip the packet length field 4 bytes
164 // attach the packet count to the header