Lines Matching defs:optbuf
3545 render_llq(isc_buffer_t *optbuf, dns_message_t *msg,
3561 u = isc_buffer_getuint16(optbuf);
3572 u = isc_buffer_getuint16(optbuf);
3583 u = isc_buffer_getuint16(optbuf);
3594 q = isc_buffer_getuint32(optbuf);
3596 q |= isc_buffer_getuint32(optbuf);
3607 u = isc_buffer_getuint32(optbuf);
3646 render_nameopt(isc_buffer_t *optbuf, bool yaml, isc_buffer_t *target) {
3653 result = dns_name_fromwire(name, optbuf, dctx, NULL);
3654 if (result == ISC_R_SUCCESS && isc_buffer_activelength(optbuf) == 0) {
3703 isc_buffer_t optbuf;
3776 isc_buffer_init(&optbuf, rdata.data, rdata.length);
3777 isc_buffer_add(&optbuf, rdata.length);
3778 while (isc_buffer_remaininglength(&optbuf) != 0) {
3783 INSIST(isc_buffer_remaininglength(&optbuf) >= 4U);
3784 optcode = isc_buffer_getuint16(&optbuf);
3785 optlen = isc_buffer_getuint16(&optbuf);
3786 INSIST(isc_buffer_remaininglength(&optbuf) >= optlen);
3803 result = render_llq(&optbuf, msg, style,
3817 secs = isc_buffer_getuint32(&optbuf);
3834 &optbuf);
3856 isc_buffer_current(&optbuf),
3864 isc_buffer_forward(&optbuf, optlen);
3873 secs = isc_buffer_getuint32(&optbuf);
3889 dsecs = isc_buffer_getuint16(&optbuf);
3900 isc_buffer_t sb = optbuf;
3901 isc_buffer_setactive(&optbuf, optlen);
3902 result = render_nameopt(&optbuf, true,
3908 optbuf = sb;
3917 &optbuf);
3935 ede = isc_buffer_getuint16(&optbuf);
3958 isc_buffer_getuint16(&optbuf);
3971 optdata = isc_buffer_current(&optbuf);
4022 isc_buffer_forward(&optbuf, optlen);
4036 optdata = isc_buffer_current(&optbuf);
4059 isc_buffer_forward(&optbuf, optlen);
4137 isc_buffer_t optbuf;
4203 isc_buffer_init(&optbuf, rdata.data, rdata.length);
4204 isc_buffer_add(&optbuf, rdata.length);
4205 while (isc_buffer_remaininglength(&optbuf) != 0) {
4208 INSIST(isc_buffer_remaininglength(&optbuf) >= 4U);
4209 optcode = isc_buffer_getuint16(&optbuf);
4210 optlen = isc_buffer_getuint16(&optbuf);
4212 INSIST(isc_buffer_remaininglength(&optbuf) >= optlen);
4230 result = render_llq(&optbuf, msg, style,
4242 secs = isc_buffer_getuint32(&optbuf);
4247 &optbuf);
4273 isc_buffer_current(&optbuf),
4281 isc_buffer_forward(&optbuf, optlen);
4289 secs = isc_buffer_getuint32(&optbuf);
4305 dsecs = isc_buffer_getuint16(&optbuf);
4318 isc_buffer_forward(&optbuf, optlen);
4325 isc_buffer_t sb = optbuf;
4326 isc_buffer_setactive(&optbuf, optlen);
4327 result = render_nameopt(&optbuf, false,
4333 optbuf = sb;
4343 &optbuf);
4357 ede = isc_buffer_getuint16(&optbuf);
4372 optdata = isc_buffer_current(&optbuf);
4378 isc_buffer_forward(&optbuf, optlen);
4387 isc_buffer_getuint16(&optbuf);
4403 optdata = isc_buffer_current(&optbuf);
4426 isc_buffer_forward(&optbuf, optlen);