Lines Matching full:packet
594 * Description: transmits a packet
598 * unsigned short s: size of the data-part of the packet.
599 * char *p: the data for the packet.
609 const char *p) /* Packet */
635 /* pad to minimum packet size */
647 printf("natsemi_transmit: Queued Tx packet size %d.\n", (int) s);
665 * Description: checks for a received packet and returns it if found.
669 * Returns: 1 if packet was received.
670 * 0 if no packet was received.
673 * Returns (copies) the packet to the array nic->packet.
674 * Returns the length of the packet in nic->packetlen.
690 printf("natsemi_poll: got a packet: cur_rx:%d, status:%X\n",
696 /* corrupted packet received */
697 printf("natsemi_poll: Corrupted packet received, buffer status = %X\n",
701 /* give packet to higher level routine */
702 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen);