Searched refs:sldns_buffer_write_u16 (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/unbound/util/data/ |
H A D | msgencode.c | 285 sldns_buffer_write_u16(pkt, ptr); in write_compressed_dname() 534 sldns_buffer_write_u16(pkt, LDNS_RR_TYPE_RRSIG); in packed_rrset_encode() 630 sldns_buffer_write_u16(buffer, qinfo->qtype); in insert_query() 631 sldns_buffer_write_u16(buffer, qinfo->qclass); in insert_query() 703 sldns_buffer_write_u16(buffer, flags); in reply_info_encode() 704 sldns_buffer_write_u16(buffer, rep->qdcount); in reply_info_encode() 932 sldns_buffer_write_u16(pkt, LDNS_RR_TYPE_OPT); /* type */ in attach_edns_record_max_msg_sz() 933 sldns_buffer_write_u16(pkt, edns->udp_size); /* class */ in attach_edns_record_max_msg_sz() 936 sldns_buffer_write_u16(pkt, edns->bits); in attach_edns_record_max_msg_sz() 938 sldns_buffer_write_u16(pkt, 0); /* rdatalen */ in attach_edns_record_max_msg_sz() [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | redirect-bogus.patch | 279 + sldns_buffer_write_u16(buf, flags); 282 + sldns_buffer_write_u16(buf, flags); 283 + sldns_buffer_write_u16(buf, 1); 292 + sldns_buffer_write_u16(buf, qinfo->qtype); 293 + sldns_buffer_write_u16(buf, qinfo->qclass); 298 + sldns_buffer_write_u16(buf, qinfo->qtype); 299 + sldns_buffer_write_u16(buf, qinfo->qclass); 300 + sldns_buffer_write_u16(buf, 0); 302 + sldns_buffer_write_u16(buf, 5); 303 + sldns_buffer_write_u16(buf, addr_len);
|
H A D | fastrpz.patch | 2070 + sldns_buffer_write_u16(pkt, id); 2071 + sldns_buffer_write_u16(pkt, flags); 2072 + sldns_buffer_write_u16(pkt, 1); /* QDCOUNT */ 2073 + sldns_buffer_write_u16(pkt, 0); /* ANCOUNT will be set later */ 2074 + sldns_buffer_write_u16(pkt, 0); /* NSCOUNT */ 2075 + sldns_buffer_write_u16(pkt, 1); /* ARCOUNT */ 2080 + sldns_buffer_write_u16(pkt, qinfo->qtype); 2081 + sldns_buffer_write_u16(pkt, LDNS_RR_CLASS_IN);
|
/freebsd/contrib/unbound/daemon/ |
H A D | worker.c | 892 sldns_buffer_write_u16(pkt, (uint16_t)(BIT_QR|BIT_RA)); in chaos_replystr() 895 sldns_buffer_write_u16(pkt, 1); /* qdcount */ in chaos_replystr() 896 sldns_buffer_write_u16(pkt, (uint16_t)num); /* ancount */ in chaos_replystr() 897 sldns_buffer_write_u16(pkt, 0); /* nscount */ in chaos_replystr() 898 sldns_buffer_write_u16(pkt, 0); /* arcount */ in chaos_replystr() 911 sldns_buffer_write_u16(pkt, 0xc00c); /* compr ptr to query */ in chaos_replystr() 912 sldns_buffer_write_u16(pkt, LDNS_RR_TYPE_TXT); in chaos_replystr() 913 sldns_buffer_write_u16(pkt, LDNS_RR_CLASS_CH); in chaos_replystr() 915 sldns_buffer_write_u16(pkt, sizeof(uint8_t) + len); in chaos_replystr() 1272 sldns_buffer_write_u16(c->buffer, LDNS_RR_TYPE_OPT); in deny_refuse() [all …]
|
/freebsd/contrib/unbound/services/ |
H A D | outside_network.c | 2555 sldns_buffer_write_u16(buff, flags); 2556 sldns_buffer_write_u16(buff, 1); /* qdcount */ 2557 sldns_buffer_write_u16(buff, 0); /* ancount */ 2558 sldns_buffer_write_u16(buff, 0); /* nscount */ 2559 sldns_buffer_write_u16(buff, 0); /* arcount */ 2561 sldns_buffer_write_u16(buff, qtype); 2562 sldns_buffer_write_u16(buff, qclass); 2863 sldns_buffer_write_u16(buff, 0); /* id placeholder */
|
H A D | authzone.c | 1342 sldns_buffer_write_u16(buf, rr_type); in decompress_rr_into_buffer() 1343 sldns_buffer_write_u16(buf, rr_class); in decompress_rr_into_buffer() 1346 sldns_buffer_write_u16(buf, 0); /* rd length position */ in decompress_rr_into_buffer() 4289 sldns_buffer_write_u16(buf, LDNS_RR_TYPE_SOA); in xfr_create_ixfr_packet() 4290 sldns_buffer_write_u16(buf, qinfo.qclass); in xfr_create_ixfr_packet() 4292 sldns_buffer_write_u16(buf, 22); /* rdata length */ in xfr_create_ixfr_packet()
|
/freebsd/contrib/unbound/sldns/ |
H A D | sbuffer.h | 535 sldns_buffer_write_u16(sldns_buffer *buffer, uint16_t data) in sldns_buffer_write_u16() function
|
/freebsd/contrib/unbound/edns-subnet/ |
H A D | subnetmod.c | 127 sldns_buffer_write_u16(buf, ecs->subnet_addr_fam); in subnet_ecs_opt_list_append()
|