Lines Matching defs:hdr
100 struct dns_server_list_v1_address hdr;
103 hdr.address_type = *b++;
105 switch (hdr.address_type) {
128 hdr.address_type);
154 const struct dns_server_list_v1_header *hdr = buffer;
165 if (end - b < sizeof(*hdr) ||
166 hdr->hdr.content != DNS_PAYLOAD_IS_SERVER_LIST ||
167 hdr->hdr.version != 1) {
169 hdr->hdr.content, hdr->hdr.version, end - b);
174 nr_servers = hdr->nr_servers;
180 vllist->source = (hdr->source < NR__dns_record_source) ?
181 hdr->source : NR__dns_record_source;
182 vllist->status = (hdr->status < NR__dns_lookup_status) ?
183 hdr->status : NR__dns_lookup_status;
191 b += sizeof(*hdr);