Lines Matching defs:packet
448 if ((pktLen % me->fOutPacketSize) == 0) // If it was a multiple of max packet size then we need to do a zero length write
450 XTRACE(me, rc, pktLen, "dataWriteComplete - writing zero length packet");
1064 // Desc: Set for wake on magic packet
1374 // Inputs: mbuf - the packet
1808 // Inputs: packet - the packet
1812 // Desc: Set up and then transmit the packet.
1816 IOReturn AppleUSBCDCEEM::USBTransmitPacket(mbuf_t packet)
1818 UInt32 numbufs = 0; // number of mbufs for this packet
1827 // Count the number of mbufs in this packet
1829 m = packet;
1840 XTRACE(this, total_pkt_length, numbufs, "USBTransmitPacket - Total packet length and Number of mbufs");
1844 XTRACE(this, 0, 0, "USBTransmitPacket - Bad packet size"); // Note for now and revisit later
1858 m = packet; // start with the first mbuf of the packet
1872 fPipeOutBuff[indx].m = packet;
1908 // Desc: Set up and a command packet.
2046 // Inputs: packet - the packet
2047 // size - Number of bytes in the packet
2055 void AppleUSBCDCEEM::receivePacket(UInt8 *packet, UInt32 size)
2064 XTRACE(this, 0, 0, "receivePacket - Packet size error, packet dropped");
2072 bcopy(packet, mbuf_data(m), size);
2077 XTRACE(this, 0, 0, "receivePacket - Buffer allocation failed, packet dropped");
2087 // Inputs: EEMHeader - the EEM packet header