Lines Matching defs:hdr
107 struct dns_server_list_v1_address hdr;
110 hdr.address_type = *b++;
112 switch (hdr.address_type) {
135 hdr.address_type);
161 const struct dns_server_list_v1_header *hdr = buffer;
172 if (end - b < sizeof(*hdr) ||
173 hdr->hdr.content != DNS_PAYLOAD_IS_SERVER_LIST ||
174 hdr->hdr.version != 1) {
176 hdr->hdr.content, hdr->hdr.version, end - b);
181 nr_servers = hdr->nr_servers;
187 vllist->source = (hdr->source < NR__dns_record_source) ?
188 hdr->source : NR__dns_record_source;
189 vllist->status = (hdr->status < NR__dns_lookup_status) ?
190 hdr->status : NR__dns_lookup_status;
198 b += sizeof(*hdr);