Lines Matching refs:protocol
42 int dns_scope_new(Manager *m, DnsScope **ret, Link *l, DnsProtocol protocol, int family) {
54 s->protocol = protocol;
58 if (protocol == DNS_PROTOCOL_DNS) {
77 log_debug("New scope on link %s, protocol %s, family %s", l ? l->name : "*", dns_protocol_to_string(protocol), family == AF_UNSPEC ? "*" : af_to_name(family));
110 log_debug("Removing scope on link %s, protocol %s, family %s", s->link ? s->link->name : "*", dns_protocol_to_string(s->protocol), s->family == AF_UNSPEC ? "*" : af_to_name(s->family));
139 if (s->protocol != DNS_PROTOCOL_DNS)
151 if (s->protocol != DNS_PROTOCOL_DNS)
185 assert(p->protocol == s->protocol);
193 switch (s->protocol) {
278 assert(p->protocol == s->protocol);
279 assert((s->protocol == DNS_PROTOCOL_DNS) == (fd >= 0));
284 assert(p->protocol == DNS_PROTOCOL_MDNS);
373 if (s->protocol == DNS_PROTOCOL_LLMNR) {
418 if ((SD_RESOLVED_FLAGS_MAKE(s->protocol, s->family, 0) & flags) == 0)
447 switch (s->protocol) {
486 assert_not_reached("Unknown scope protocol");
503 if (s->protocol == DNS_PROTOCOL_DNS) {
579 if (s->protocol != DNS_PROTOCOL_LLMNR)
587 if (s->protocol != DNS_PROTOCOL_MDNS)
615 r = dns_packet_new(&p, s->protocol, 0);
691 if (p->protocol != DNS_PROTOCOL_LLMNR)
749 log_debug("Unknown protocol");
805 r = dns_packet_new(&p, s->protocol, 0);
821 if (s->protocol != DNS_PROTOCOL_MDNS)
925 if (p->protocol != DNS_PROTOCOL_LLMNR)
972 fputs("[Scope protocol=", f);
973 fputs(dns_protocol_to_string(s->protocol), f);
1001 if (s->protocol != DNS_PROTOCOL_DNS)
1013 if (s->protocol != DNS_PROTOCOL_DNS)