Home | History | Annotate | Download | only in dev

Lines Matching refs:packet

200  * the upper and lower halves, and the outgoing packet queue.
205 u_char data[ADB_MAX_MSG_LENGTH]; /* packet data only */
210 u_int unsol; /* 1 if packet was unsolicited */
271 int tickle_count = 0; /* how many tickles seen for this packet? */
272 int tickle_serial = 0; /* the last packet tickled */
273 int adb_cuda_serial = 0; /* the current packet */
408 struct adbCommand packet;
420 * This is an unexpected packet, so grab the first (dummy)
422 * starting to receive the packet by setting the TIP bit.
458 * Are we waiting AND does this packet match what we
466 memcpy(packet.data, adbInputBuffer, adbInputBuffer[0] + 1);
472 packet.saveBuf = adbBuffer;
473 packet.compRout = adbCompRout;
474 packet.compData = adbCompData;
475 packet.unsol = 0;
476 packet.ack_only = 0;
477 adb_pass_up(&packet);
485 packet.unsol = 1;
486 packet.ack_only = 0;
487 adb_pass_up(&packet);
570 memcpy(packet.data, adbInputBuffer, adbInputBuffer[0] + 1);
571 packet.saveBuf = adbBuffer;
572 packet.compRout = adbCompRout;
573 packet.compData = adbCompData;
574 packet.cmd = adbWaitingCmd;
575 packet.unsol = 0;
576 packet.ack_only = 1;
577 adb_pass_up(&packet);
722 struct adbCommand packet;
816 if (intr_on) { /* process last byte of packet */
860 memcpy(packet.data, adbInputBuffer, adbInputBuffer[0] + 1);
863 packet.unsol = 1;
864 packet.ack_only = 0;
865 adb_pass_up(&packet);
867 packet.saveBuf = adbBuffer;
868 packet.compRout = adbCompRout;
869 packet.compData = adbCompData;
870 packet.unsol = 0;
871 packet.ack_only = 0;
872 adb_pass_up(&packet);
987 memcpy(packet.data, adbOutputBuffer, adbOutputBuffer[0] + 1);
988 packet.saveBuf = adbBuffer;
989 packet.compRout = adbCompRout;
990 packet.compData = adbCompData;
991 packet.cmd = adbWaitingCmd;
992 packet.unsol = 0;
993 packet.ack_only = 1;
994 adb_pass_up(&packet);
1252 struct adbCommand packet;
1303 memcpy(packet.data, adbInputBuffer, adbInputBuffer[0] + 1);
1312 packet.saveBuf = adbBuffer;
1313 packet.compRout = adbCompRout;
1314 packet.compData = adbCompData;
1315 packet.unsol = 0;
1316 packet.ack_only = 0;
1317 adb_pass_up(&packet);
1325 packet.unsol = 1;
1326 packet.ack_only = 0;
1327 adb_pass_up(&packet);
1395 memcpy(packet.data, adbInputBuffer,
1397 packet.saveBuf = adbBuffer;
1398 packet.compRout = adbCompRout;
1399 packet.compData = adbCompData;
1400 packet.cmd = adbWaitingCmd;
1401 packet.unsol = 0;
1402 packet.ack_only = 1;
1403 adb_pass_up(&packet);
1606 * It takes the raw packet data that was received from the
1612 * that the packet was sent (on a LISTEN, for example), or the
1616 * If in->unsol is 1, then this packet was unsolicited and
1623 * Note that in->data contains the packet header AND data,
1702 * If this is an unsolicited packet, we need to fill in
1703 * some info so adb_soft_intr can process this packet
1724 /* copy the packet data over */