Searched refs:tcplen (Results 1 - 8 of 8) sorted by relevance

/netbsd-current/external/mpl/bind/dist/bin/tests/
H A Dwire_test.c241 unsigned int tcplen; local
247 tcplen = isc_buffer_getuint16(input);
249 if (isc_buffer_remaininglength(input) < tcplen) {
/netbsd-current/external/bsd/nsd/dist/
H A Dquery.h78 uint16_t tcplen; member in struct:query
H A Dserver.c4146 (char*) &data->query->tcplen + data->bytes_transmitted,
4152 * Not done with the tcplen yet, wait for more
4159 data->query->tcplen = ntohs(data->query->tcplen);
4169 if (data->query->tcplen < QHEADERSZ + 1 + sizeof(uint16_t) + sizeof(uint16_t)) {
4175 if (data->query->tcplen > data->query->maxlen) {
4181 buffer_set_limit(data->query->packet, data->query->tcplen);
4200 assert(buffer_position(data->query->packet) == data->query->tcplen);
4266 data->query->tcplen = buffer_remaining(data->query->packet);
4324 if (data->bytes_transmitted < sizeof(q->tcplen)) {
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/netmgr/
H A Dtcpdns.c1098 *(uint16_t *)uvreq->tcplen = htons(region->length);
1161 uv_buf_t bufs[2] = { { .base = uvreq->tcplen, .len = 2 },
1184 bufs[0].base = uvreq->tcplen + 1;
H A Dnetmgr-int.h332 char tcplen[2]; /* The TCP DNS message length */ member in struct:isc__nm_uvreq
/netbsd-current/external/mpl/bind/dist/lib/isc/netmgr/
H A Dtcpdns.c1121 *(uint16_t *)uvreq->tcplen = htons(region->length);
1189 uv_buf_t bufs[2] = { { .base = uvreq->tcplen, .len = 2 },
1208 bufs[0].base = uvreq->tcplen + 1;
H A Dtlsdns.c1763 *(uint16_t *)uvreq->tcplen = htons(region->length);
1921 memmove(worker->sendbuf, req->tcplen, sizeof(uint16_t));
H A Dnetmgr-int.h381 char tcplen[2]; /* The TCP DNS message length */ member in struct:isc__nm_uvreq

Completed in 137 milliseconds