Lines Matching refs:packet
787 * Much reading packet logs and having fun with trials and errors
793 * 2. Send first packet, max size to be sizeof(endpoint) but only when using
832 // this is the last packet
841 // we are first packet, but not last packet
912 // there might be a zero packet waiting for us...
925 printf("LIBMTP panic: unable to read in zero packet, response 0x%04x", zeroresult);
1233 PTPUSBBulkContainer *packet, unsigned long *rlen)
1241 /* If there is a buffered packet, just use it. */
1242 memcpy(packet, params->response_packet, params->response_packet_size);
1254 memcpy (packet, x, *rlen);
1337 * Buffer the surplus response packet if it is >=
1403 printf("Reading in zero packet after header\n");
1408 printf("LIBMTP panic: unable to read in zero packet, response 0x%04x", zeroresult);
1443 // sends a packet containing just zeroes of length 2 (up to 4 has been seen too)
1444 // after a NULL packet when it should send the response. This code ignores