Searched defs:DNSPacket (Results 1 – 1 of 1) sorted by relevance
186 struct DNSPacket { struct187 DNSPacket() in DNSPacket() argument192 DNSPacket& add_question(DNSQuestion *q) { in add_question() argument196 DNSPacket& add_answer(DNSRR *q) { in add_answer() argument200 DNSPacket& add_auth(DNSRR *q) { in add_auth() argument204 DNSPacket& add_additional(DNSRR *q) { in add_additional() argument209 DNSPacket& set_qid(int qid) { qid_ = qid; return *this; } in set_qid() argument218 DNSPacket& set_rcode(ns_rcode rcode) { rcode_ = rcode; return *this; } in set_rcode() argument223 int qid_;224 bool response_;[all …]