Home
last modified time | relevance | path

Searched refs:sldns_buffer_current (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/unbound/util/data/
H A Dmsgparse.c489 pkt_rrsig_covered_equals(pkt, sldns_buffer_current(pkt), in find_rrset()
503 sldns_buffer_current(pkt), &covtype)) { in find_rrset()
593 msg->qname = sldns_buffer_current(pkt); in parse_query_section()
674 len = sldns_buffer_current(pkt)[0] + 1; in calc_size()
780 && sig_is_double(pkt, rrset, sldns_buffer_current(pkt))) { in add_rr_to_rrset()
790 rr->ttl_data = sldns_buffer_current(pkt); in add_rr_to_rrset()
846 dname = sldns_buffer_current(pkt); in parse_section()
858 sldns_buffer_current(pkt), &t)) in parse_section()
1315 rdata_ptr = sldns_buffer_current(pkt); in parse_edns_from_query_pkt()
H A Dmsgreply.c311 sldns_buffer_current(pkt)); in rdata_copy()
318 len = sldns_buffer_current(pkt)[0] + 1; in rdata_copy()
326 memmove(to, sldns_buffer_current(pkt), len); in rdata_copy()
336 memmove(to, sldns_buffer_current(pkt), pkt_len); in rdata_copy()
649 m->qname = sldns_buffer_current(query); in query_info_parse()
H A Dmsgencode.c627 if(sldns_buffer_current(buffer) == qname) in insert_query()
979 memset(sldns_buffer_current(pkt), 0, pad_sz); in attach_edns_record_max_msg_sz()
1111 if(sldns_buffer_current(buf) == qname) in extended_error_encode()
/freebsd/contrib/unbound/sldns/
H A Dsbuffer.c125 written = vsnprintf((char *) sldns_buffer_current(buffer), remaining, in sldns_buffer_printf()
H A Dstr2wire.c381 (*(sldns_buffer_current(strbuf)) == ' ' || in rrinternal_get_quoted()
382 *(sldns_buffer_current(strbuf)) == '\t')) { in rrinternal_get_quoted()
387 *(sldns_buffer_current(strbuf)) == '\"') { in rrinternal_get_quoted()
556 (*(sldns_buffer_current(strbuf)) == ' ' || in sldns_parse_rdf_token()
557 *(sldns_buffer_current(strbuf)) == '\t')) { in sldns_parse_rdf_token()
588 (sldns_buffer_current(strbuf)[-1] == ' ' || in sldns_parse_rdf_token()
589 sldns_buffer_current(strbuf)[-1] == '\t')) { in sldns_parse_rdf_token()
2649 s = sldns_str2wire_b64_buf((const char*)sldns_buffer_current(&strbuf), in sldns_str2wire_ipseckey_buf()
H A Dsbuffer.h366 sldns_buffer_current(sldns_buffer *buffer) in sldns_buffer_current() function
/freebsd/contrib/unbound/validator/
H A Dval_anchor.c656 } else if(rdlen == 1 && sldns_buffer_current(buf)[-1] == '"') { in process_bind_contents()
674 } else if(rdlen == 1 && sldns_buffer_current(buf)[-1] == ';') { in process_bind_contents()
699 } else if(rdlen == 1 && sldns_buffer_current(buf)[-1] == '}') { in process_bind_contents()
707 isspace((unsigned char)sldns_buffer_current(buf)[-1])) { in process_bind_contents()
H A Dval_sigcrypt.c1060 *can_owner = sldns_buffer_current(buf); in insert_can_owner()
1095 uint8_t* datstart = sldns_buffer_current(buf)-len+2; in canonicalize_rdata()
1372 can_owner = sldns_buffer_current(buf); in rrset_canonicalize_to_buffer()
/freebsd/contrib/unbound/contrib/
H A Dredirect-bogus.patch289 + if(sldns_buffer_current(buf) == qinfo->qname)
295 + if(sldns_buffer_current(buf) == qinfo->qname)
/freebsd/contrib/unbound/util/
H A Dnetevent.c3763 r = SSL_read(c->ssl, (void*)sldns_buffer_current(c->buffer),
3847 sldns_buffer_current(c->buffer),
3907 r = SSL_write(c->ssl, (void*)sldns_buffer_current(c->buffer),
4124 r = recv(fd, (void*)sldns_buffer_current(c->buffer),
4470 r = send(fd, (void*)sldns_buffer_current(buffer),
4706 r = SSL_read(c->ssl, (void*)sldns_buffer_current(c->buffer),
4747 r = recv(fd, (void*)sldns_buffer_current(c->buffer),
4793 char* result = (char*)sldns_buffer_current(buf);
4972 sldns_buffer_current(c->buffer),
5419 r = SSL_write(c->ssl, (void*)sldns_buffer_current(c->buffer),
[all …]
/freebsd/contrib/unbound/services/
H A Dlisten_dnsport.c2542 memcpy(buf, sldns_buffer_current(h2_stream->rbuffer), copylen); in http2_submit_response_read_callback()
2651 sldns_buffer_current(h2_session->c->buffer), in http2_submit_dns_response()
2789 sldns_buffer_current(h2_stream->qbuffer), in http2_query_read_done()
2996 if(!(b64len = sldns_b64_pton(buf, sldns_buffer_current( in http2_buffer_uri_query()
3008 sldns_buffer_current(h2_stream->qbuffer), in http2_buffer_uri_query()
H A Dauthzone.c1333 (size_t)(dname - sldns_buffer_current(&pktbuf))); in decompress_rr_into_buffer()
1337 dname_pkt_copy(&pktbuf, sldns_buffer_current(buf), dname); in decompress_rr_into_buffer()
1377 sldns_buffer_current(buf), rd); in decompress_rr_into_buffer()
4333 if(query_dname_compare(sldns_buffer_current(pkt), xfr->name) != 0) in check_packet_ok()
4353 if(dname_pkt_compare(pkt, sldns_buffer_current(pkt), in check_packet_ok()
4785 *rr_dname = sldns_buffer_current(&pkt); in chunk_rrlist_get_current()
4793 *rr_rdata = sldns_buffer_current(&pkt); in chunk_rrlist_get_current()
/freebsd/contrib/unbound/daemon/
H A Dworker.c1230 if(sldns_buffer_remaining(c->buffer) < 1 || *sldns_buffer_current(c->buffer) != 0) { in deny_refuse()