Lines Matching refs:protocol
31 int dns_packet_new(DnsPacket **ret, DnsProtocol protocol, size_t mtu) {
58 p->protocol = protocol;
75 switch(p->protocol) {
117 int dns_packet_new_query(DnsPacket **ret, DnsProtocol protocol, size_t mtu, bool dnssec_checking_disabled) {
123 r = dns_packet_new(&p, protocol, mtu);
210 switch (p->protocol) {
251 switch (p->protocol) {
966 r = dns_packet_append_uint8(p, rr->dnskey.protocol, NULL);
1547 if (p->protocol == DNS_PROTOCOL_MDNS) {
1858 r = dns_packet_read_uint8(p, &rr->dnskey.protocol, NULL);
1932 bool allow_compressed = p->protocol == DNS_PROTOCOL_MDNS;
2214 (p->protocol == DNS_PROTOCOL_MDNS && !cache_flush ? DNS_ANSWER_SHARED_OWNER : 0));