Lines Matching defs:optlen
1902 process_cookie(ns_client_t *client, isc_buffer_t *buf, size_t optlen) {
1914 isc_buffer_forward(buf, (unsigned int)optlen);
1922 if (optlen != COOKIE_SIZE) {
1926 INSIST(optlen >= 8U);
1928 isc_buffer_forward(buf, (unsigned int)optlen);
1930 if (optlen == 8U)
1976 process_ecs(ns_client_t *client, isc_buffer_t *buf, size_t optlen) {
1985 isc_buffer_forward(buf, (unsigned int)optlen);
1995 if (optlen < 4U) {
2005 optlen -= 4;
2074 optlen -= addrbytes;
2089 isc_buffer_forward(buf, (unsigned int)optlen);
2094 process_keytag(ns_client_t *client, isc_buffer_t *buf, size_t optlen) {
2096 if (optlen == 0 || (optlen % 2) != 0) {
2097 isc_buffer_forward(buf, (unsigned int)optlen);
2101 client->keytag = isc_mem_get(client->mctx, optlen);
2103 client->keytag_len = (isc_uint16_t)optlen;
2104 memmove(client->keytag, isc_buffer_current(buf), optlen);
2106 isc_buffer_forward(buf, (unsigned int)optlen);
2116 isc_uint16_t optlen;
2161 optlen = isc_buffer_getuint16(&optbuf);
2169 isc_buffer_forward(&optbuf, optlen);
2172 process_cookie(client, &optbuf, optlen);
2180 isc_buffer_forward(&optbuf, optlen);
2183 result = process_ecs(client, &optbuf, optlen);
2193 optlen);
2204 isc_buffer_forward(&optbuf, optlen);