Lines Matching refs:b

41           struct resolv_response_builder *b,  in response()  argument
56 resolv_response_init (b, (struct resolv_response_flags) {}); in response()
57 resolv_response_add_question (b, qname, qclass, qtype); in response()
58 resolv_response_section (b, ns_s_an); in response()
59 resolv_response_open_record (b, "www.example", qclass, qtype, 0); in response()
60 resolv_response_add_data (b, "\xC0\x00\x02\x01", 4); in response()
61 resolv_response_close_record (b); in response()
64 resolv_response_init (b, (struct resolv_response_flags) {}); in response()
65 resolv_response_add_question (b, qname, qclass, qtype); in response()
66 resolv_response_section (b, ns_s_an); in response()
69 resolv_response_open_record (b, "www.example", qclass, qtype, 0); in response()
70 resolv_response_add_data (b, "\xC0\x00\x02\x01", 4); in response()
71 resolv_response_close_record (b); in response()
73 resolv_response_add_data (b, "", 1); in response()
77 resolv_response_init (b, (struct resolv_response_flags) {}); in response()
78 resolv_response_add_question (b, qname, qclass, qtype); in response()
79 resolv_response_section (b, ns_s_an); in response()
82 resolv_response_open_record (b, "www.example", qclass, qtype, 0); in response()
83 resolv_response_add_data (b, "\xC0\x00\x02\x01", 4); in response()
84 resolv_response_close_record (b); in response()
89 resolv_response_add_data (b, "", 1); in response()
93 resolv_response_init (b, (struct resolv_response_flags) {}); in response()
94 resolv_response_add_question (b, qname, qclass, qtype); in response()
95 resolv_response_section (b, ns_s_an); in response()
96 resolv_response_open_record (b, qname, qclass, T_CNAME, 0); in response()
97 resolv_response_add_name (b, "www.example"); in response()
98 resolv_response_close_record (b); in response()
99 resolv_response_open_record (b, "www.example", qclass, qtype, 0); in response()
100 resolv_response_add_data (b, "\xC0\x00\x02\x01", 4); in response()
101 resolv_response_close_record (b); in response()
104 resolv_response_init (b, (struct resolv_response_flags) {}); in response()
105 resolv_response_add_question (b, qname, qclass, qtype); in response()
106 resolv_response_section (b, ns_s_an); in response()
107 resolv_response_open_record (b, qname, qclass, T_CNAME, 0); in response()
108 resolv_response_add_name (b, "www.example"); in response()
109 resolv_response_close_record (b); in response()
110 resolv_response_open_record (b, qname, qclass, T_CNAME, 0); in response()
111 resolv_response_add_name (b, "www1.example"); in response()
112 resolv_response_close_record (b); in response()
113 resolv_response_open_record (b, "www1.example", qclass, qtype, 0); in response()
114 resolv_response_add_data (b, "\xC0\x00\x02\x01", 4); in response()
115 resolv_response_close_record (b); in response()
118 resolv_response_init (b, (struct resolv_response_flags) {}); in response()
119 resolv_response_add_question (b, qname, qclass, qtype); in response()
120 resolv_response_section (b, ns_s_an); in response()
121 resolv_response_open_record (b, qname, qclass, T_CNAME, 0); in response()
122 resolv_response_add_name (b, "www.example"); in response()
123 resolv_response_close_record (b); in response()
124 resolv_response_open_record (b, qname, qclass, 46 /* RRSIG */, 0); in response()
125 resolv_response_add_name (b, "."); in response()
126 resolv_response_close_record (b); in response()
127 resolv_response_open_record (b, "www.example", qclass, qtype, 0); in response()
128 resolv_response_add_data (b, "\xC0\x00\x02\x01", 4); in response()
129 resolv_response_close_record (b); in response()
134 resolv_response_init (b, (struct resolv_response_flags) {.tc = true}); in response()
135 resolv_response_add_question (b, qname, qclass, qtype); in response()
140 (b, (struct resolv_response_flags) {.ancount = 1}); in response()
141 resolv_response_add_question (b, qname, qclass, qtype); in response()
142 resolv_response_section (b, ns_s_an); in response()
143 resolv_response_open_record (b, qname, qclass, T_CNAME, 0); in response()
144 size_t to_fill = 65535 - resolv_response_length (b) in response()
148 resolv_response_add_data (b, "", 1); in response()
149 resolv_response_close_record (b); in response()
150 resolv_response_add_name (b, "n.example"); in response()
152 resolv_response_add_data (b, &rrtype, sizeof (rrtype)); in response()
157 resolv_response_init (b, (struct resolv_response_flags) {}); in response()
158 resolv_response_add_question (b, qname, qclass, qtype); in response()
161 resolv_response_init (b, (struct resolv_response_flags) {.ancount = 1}); in response()
162 resolv_response_add_question (b, qname, qclass, qtype); in response()
164 resolv_response_add_name (b, "www.example"); in response()
169 resolv_response_init (b, (struct resolv_response_flags) {}); in response()
170 resolv_response_add_question (b, qname, qclass, qtype); in response()
176 (b, (struct resolv_response_flags) {.ancount = 1}); in response()
177 resolv_response_add_question (b, qname, qclass, qtype); in response()
180 (b, "long-name-exceed-previously-initialized-buffer.example"); in response()
184 resolv_response_init (b, (struct resolv_response_flags) {.ancount = 1}); in response()
185 resolv_response_add_question (b, qname, qclass, qtype); in response()
187 resolv_response_add_name (b, "www.example"); in response()
188 resolv_response_add_data (b, "\xff\xff", 2); in response()
193 resolv_response_init (b, (struct resolv_response_flags) {}); in response()
194 resolv_response_add_question (b, qname, qclass, qtype); in response()
200 (b, (struct resolv_response_flags) {.ancount = 1}); in response()
201 resolv_response_add_question (b, qname, qclass, qtype); in response()
203 resolv_response_add_name (b, "www.example"); in response()
204 resolv_response_add_data (b, "\xff\xff", 2); in response()