Home | History | Annotate | Download | only in qemud

Lines Matching full:in_datalen

1062     int         in_datalen;  /* payload size, or 0 when reading header */
1085 * the payload size and store them in 'in_datalen' and 'in_channel'.
1103 if (s->in_datalen == 0) {
1113 s->in_datalen = hex2int( inp->data + LENGTH_OFFSET, LENGTH_SIZE );
1116 if (s->in_datalen <= 0) {
1118 s->in_datalen ? "empty" : "malformed");
1119 s->in_datalen = 0;
1122 //D("received %d bytes packet for channel %d", s->in_datalen, s->in_channel);
1128 int wanted = s->in_datalen - inpos;
1137 if (inpos == s->in_datalen) {
1147 s->in_datalen = 0;
1198 s->in_datalen = 0;