Lines Matching defs:receive_packet
46 static struct ubcsp_packet receive_packet;
106 memset(&receive_packet, 0, sizeof(receive_packet));
113 receive_packet.length = 512;
114 receive_packet.payload = receive_buffer;
116 ubcsp_receive_packet(&receive_packet);
178 receive_packet.length = 512;
179 ubcsp_receive_packet(&receive_packet);
205 if (sent && receive_packet.channel == 5 &&
206 receive_packet.payload[0] == 0xff) {
207 memcpy(rp, receive_packet.payload,
208 receive_packet.length);
212 receive_packet.length = 512;
213 ubcsp_receive_packet(&receive_packet);