Lines Matching defs:packet
10 static int hvsi_send_packet(struct hvsi_priv *pv, struct hvsi_header *packet)
12 packet->seqno = cpu_to_be16(atomic_inc_return(&pv->seqno));
15 return pv->put_chars(pv->termno, (char *)packet, packet->len);
139 pr_devel("HVSI@%x: Got packet type %x len %d bytes:\n",
142 /* We have a packet, yay ! Handle it */
159 /* Swallow packet and retry */
174 * a full packet and retry
200 /* Consume existing data packet */
212 /* Data packet fully consumed, move down remaning data */
220 /* Try to get another packet */
318 /* Try for up to 200ms, there can be a packet to
328 /* Failed, send a close connection packet just