Searched refs:sldns_buffer_position (Results 1 – 13 of 13) sorted by relevance
/freebsd/contrib/unbound/sldns/ |
H A D | str2wire.c | 194 sldns_buffer_position(strbuf)); in rrinternal_get_owner() 199 sldns_buffer_position(strbuf)); in rrinternal_get_owner() 215 sldns_buffer_position(strbuf)); in rrinternal_get_owner() 233 sldns_buffer_position(strbuf)); in rrinternal_get_owner() 240 sldns_buffer_position(strbuf)-strlen(token)); in rrinternal_get_owner() 255 sldns_buffer_position(strbuf)); in rrinternal_get_ttl() 260 sldns_buffer_position(strbuf)); in rrinternal_get_ttl() 285 sldns_buffer_position(strbuf)); in rrinternal_get_class() 307 sldns_buffer_position(strbuf)); in rrinternal_get_type() 313 sldns_buffer_position(strbuf)); in rrinternal_get_type() [all …]
|
H A D | sbuffer.h | 232 sldns_buffer_position(sldns_buffer *buffer) in sldns_buffer_position() function
|
/freebsd/contrib/unbound/util/data/ |
H A D | msgencode.c | 350 size_t pos = sldns_buffer_position(pkt); in compress_any_dname() 384 size_t dname_len, len, pos = sldns_buffer_position(pkt); in compress_rdata() 427 sldns_buffer_write_u16_at(pkt, pos, sldns_buffer_position(pkt)-pos-2); in compress_rdata() 479 owner_pos = sldns_buffer_position(pkt); in packed_rrset_encode() 574 setstart = sldns_buffer_position(pkt); in insert_section() 587 setstart = sldns_buffer_position(pkt); in insert_section() 598 setstart = sldns_buffer_position(pkt); in insert_section() 625 sldns_buffer_position(buffer), region, NULL, tree)) in insert_query() 937 rdatapos = sldns_buffer_position(pkt); in attach_edns_record_max_msg_sz() 961 size_t pad_pos = sldns_buffer_position(pkt); in attach_edns_record_max_msg_sz() [all …]
|
H A D | msgparse.c | 118 size_t pos = sldns_buffer_position(pkt); in nsec_at_apex() 135 if(sldns_buffer_position(pkt) < pos+4+rdatalen) { in nsec_at_apex() 139 if(sldns_buffer_position(pkt)+3 > pos+4+rdatalen) { in nsec_at_apex() 244 size_t pos = sldns_buffer_position(pkt); in pkt_rrsig_covered() 659 oldpos = sldns_buffer_position(pkt); in calc_size() 662 if(sldns_buffer_position(pkt)-oldpos > pkt_len) in calc_size() 664 pkt_len -= sldns_buffer_position(pkt)-oldpos; in calc_size() 715 size_t pos = sldns_buffer_position(pkt); in sig_is_double()
|
H A D | msgreply.c | 309 oldpos = sldns_buffer_position(pkt); in rdata_copy() 313 pkt_len -= sldns_buffer_position(pkt)-oldpos; in rdata_copy() 646 sldns_buffer_position(query) != 0) in query_info_parse()
|
H A D | dname.c | 208 endpos = sldns_buffer_position(pkt); in pkt_dname_len()
|
/freebsd/contrib/unbound/iterator/ |
H A D | iter_scrub.c | 140 oldpos = sldns_buffer_position(pkt); in get_additional_name() 214 oldpos = sldns_buffer_position(pkt); in parse_get_cname_target() 776 size_t pos = sldns_buffer_position(pkt); in sanitize_nsec_is_overreach() 787 if(sldns_buffer_position(pkt)-rhspos > len) { in sanitize_nsec_is_overreach()
|
/freebsd/contrib/unbound/validator/ |
H A D | val_anchor.c | 542 sldns_buffer_position(buf)-1) == '/') { in readkeyword_bindfile() 550 sldns_buffer_position(buf)-1) == '/') { in readkeyword_bindfile() 651 if(rdlen == 1 && sldns_buffer_position(buf) == 1 in process_bind_contents()
|
/freebsd/contrib/unbound/services/ |
H A D | authzone.c | 1345 rdlenpos = sldns_buffer_position(buf); in decompress_rr_into_buffer() 1365 oldpos = sldns_buffer_position(&pktbuf); in decompress_rr_into_buffer() 1379 compressed_len = sldns_buffer_position( in decompress_rr_into_buffer() 1410 sldns_buffer_position(buf)-rdlenpos-2); in decompress_rr_into_buffer() 4423 size_t end = sldns_buffer_position(buf); in chunkline_count_parens() 4451 size_t end = sldns_buffer_position(buf); in chunkline_remove_trailcomment() 4494 pos = sldns_buffer_position(buf); in chunkline_get_line_collated() 4496 if(sldns_buffer_position(buf) < sldns_buffer_limit(buf)) in chunkline_get_line_collated() 4497 sldns_buffer_write_u8_at(buf, sldns_buffer_position(buf), 0); in chunkline_get_line_collated() 4498 else sldns_buffer_write_u8_at(buf, sldns_buffer_position(buf)-1, 0); in chunkline_get_line_collated() [all …]
|
H A D | outside_network.c | 3781 if(sldns_buffer_position(buf)+10 > sldns_buffer_capacity(buf))
|
/freebsd/contrib/unbound/util/ |
H A D | netevent.c | 4732 (int)sldns_buffer_position(c->buffer), (int)r); 4770 (int)sldns_buffer_position(c->buffer), (int)r); 4780 for(i=sldns_buffer_position(buf); i<sldns_buffer_limit(buf); i++) { 4795 for(i=sldns_buffer_position(buf); i<sldns_buffer_limit(buf); i++) { 4813 size_t pos = sldns_buffer_position(buf); 4961 …, (int)got_now, (int)c->tcp_byte_count, (int)c->http_stored, (int)sldns_buffer_position(c->buffer)… 4977 fraglen = sldns_buffer_position(c->buffer); 5307 if(c->http_stored >= sldns_buffer_position(c->buffer)) {
|
/freebsd/contrib/unbound/daemon/ |
H A D | worker.c | 905 if(sldns_buffer_position(pkt)+2+2+2+4+2+1+len+ in chaos_replystr() 1210 opt_rr_mark = sldns_buffer_position(c->buffer); in deny_refuse()
|
/freebsd/contrib/unbound/contrib/ |
H A D | fastrpz.patch | 3313 + setstart = sldns_buffer_position(pkt);
|