Home
last modified time | relevance | path

Searched refs:extract_name (Results 1 – 1 of 1) sorted by relevance

/external/dnsmasq/src/
Drfc1035.c29 static int extract_name(HEADER* header, size_t plen, unsigned char** pp, char* name, int isExtract, in extract_name() function
315 if (!extract_name(header, plen, &p, name, 1, 4)) return crc; /* bad packet */ in questions_crc()
544 if (!extract_name(header, qlen, &p, name, 1, 4)) return 0; /* bad packet */ in extract_addresses()
565 if (!extract_name(header, qlen, &tmp, name, 1, 0) || in extract_addresses()
566 !(res = extract_name(header, qlen, &p1, name, 0, 10))) in extract_addresses()
579 if (!extract_name(header, qlen, &p1, name, 1, 0)) return 0; in extract_addresses()
626 if (!(res = extract_name(header, qlen, &p1, name, 0, 10))) in extract_addresses()
647 if (!extract_name(header, qlen, &p1, name, 1, 0)) return 0; in extract_addresses()
713 if (!extract_name(header, qlen, &p, name, 1, 4)) return 0; /* bad packet */ in extract_request()
812 if (!extract_name(header, qlen, &p, name, 1, 10)) return 0; /* bad packet */ in check_for_bogus_wildcard()
[all …]