Searched defs:DNSPacket (Results 1 – 1 of 1) sorted by relevance
198 struct DNSPacket { struct199 DNSPacket() in DNSPacket() argument204 DNSPacket& add_question(DNSQuestion *q) { in add_question() argument208 DNSPacket& add_answer(DNSRR *q) { in add_answer() argument212 DNSPacket& add_auth(DNSRR *q) { in add_auth() argument216 DNSPacket& add_additional(DNSRR *q) { in add_additional() argument221 DNSPacket& set_qid(int qid) { qid_ = qid; return *this; } in set_qid() argument230 DNSPacket& set_rcode(int rcode) { rcode_ = rcode; return *this; } in set_rcode() argument235 int qid_;236 bool response_;[all …]