Lines Matching defs:expected
150 int cs_setresult; /* setsockopt expected result */
151 int cs_seterrno; /* setsockopt expected errno */
152 int cs_sndresult; /* send expected result */
153 int cs_snderrno; /* send expected errno */
172 unsigned int total, expected;
177 expected = sizeof(struct tprot); /* until we get tp_dlen */
180 expected += ntohl(tpt->tp_dlen);
183 while (cc > 0 && total < expected) {
184 cc = recv(sd, &packet[total], expected - total, 0);
189 expected += ntohl(tpt->tp_dlen);