Lines Matching refs:sldns_buffer_write_u16

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()
945 sldns_buffer_write_u16(pkt, opt->opt_code); in attach_edns_record_max_msg_sz()
946 sldns_buffer_write_u16(pkt, opt->opt_len); in attach_edns_record_max_msg_sz()
955 sldns_buffer_write_u16(pkt, opt->opt_code); in attach_edns_record_max_msg_sz()
956 sldns_buffer_write_u16(pkt, opt->opt_len); in attach_edns_record_max_msg_sz()
976 sldns_buffer_write_u16(pkt, LDNS_EDNS_PADDING); in attach_edns_record_max_msg_sz()
977 sldns_buffer_write_u16(pkt, pad_sz); in attach_edns_record_max_msg_sz()
1076 sldns_buffer_write_u16(pkt, flags); in qinfo_query_encode()
1077 sldns_buffer_write_u16(pkt, 1); /* query count */ in qinfo_query_encode()
1080 sldns_buffer_write_u16(pkt, qinfo->qtype); in qinfo_query_encode()
1081 sldns_buffer_write_u16(pkt, qinfo->qclass); in qinfo_query_encode()
1097 sldns_buffer_write_u16(buf, flags); in extended_error_encode()
1100 sldns_buffer_write_u16(buf, flags); in extended_error_encode()
1114 sldns_buffer_write_u16(buf, qinfo->qtype); in extended_error_encode()
1115 sldns_buffer_write_u16(buf, qinfo->qclass); in extended_error_encode()