Searched refs:in_datalen (Results 1 – 1 of 1) sorted by relevance
1063 int in_datalen; /* payload size, or 0 when reading header */ member1104 if (s->in_datalen == 0) { in serial_fd_receive()1114 s->in_datalen = hex2int( inp->data + LENGTH_OFFSET, LENGTH_SIZE ); in serial_fd_receive()1117 if (s->in_datalen <= 0) { in serial_fd_receive()1119 s->in_datalen ? "empty" : "malformed"); in serial_fd_receive()1120 s->in_datalen = 0; in serial_fd_receive()1129 int wanted = s->in_datalen - inpos; in serial_fd_receive()1138 if (inpos == s->in_datalen) { in serial_fd_receive()1148 s->in_datalen = 0; in serial_fd_receive()1199 s->in_datalen = 0; in serial_init()