Lines Matching refs:protocol
254 dns_protocol_to_string(t->scope->protocol),
316 dns_protocol_to_string(t->scope->protocol),
374 assert(t->scope->protocol == DNS_PROTOCOL_DNS);
445 if (t->scope->protocol == DNS_PROTOCOL_LLMNR) {
496 switch (t->scope->protocol) {
545 r = dns_stream_new(t->scope->manager, &t->stream, t->scope->protocol, fd);
577 if (!IN_SET(t->scope->protocol, DNS_PROTOCOL_DNS, DNS_PROTOCOL_LLMNR))
800 switch (t->scope->protocol) {
845 assert_not_reached("Invalid DNS protocol.");
871 switch (t->scope->protocol) {
895 assert_not_reached("Invalid DNS protocol.");
901 if (t->scope->protocol == DNS_PROTOCOL_MDNS) {
923 if (t->scope->protocol != DNS_PROTOCOL_DNS)
955 if (IN_SET(t->scope->protocol, DNS_PROTOCOL_DNS, DNS_PROTOCOL_LLMNR)) {
1064 if (t->scope->protocol == DNS_PROTOCOL_DNS) {
1118 switch (t->scope->protocol) {
1131 assert_not_reached("Invalid DNS protocol.");
1148 switch (t->scope->protocol) {
1162 assert_not_reached("Invalid DNS protocol.");
1181 if (t->n_attempts >= TRANSACTION_ATTEMPTS_MAX(t->scope->protocol)) {
1186 if (t->scope->protocol == DNS_PROTOCOL_LLMNR && t->tried_stream) {
1200 if (t->scope->protocol == DNS_PROTOCOL_DNS) {
1302 assert(t->scope->protocol == DNS_PROTOCOL_MDNS);
1307 r = dns_packet_new_query(&p, t->scope->protocol, 0, false);
1402 if (t->scope->protocol == DNS_PROTOCOL_MDNS)
1408 r = dns_packet_new_query(&p, t->scope->protocol, 0, t->scope->dnssec_mode != DNSSEC_NO);
1440 dns_protocol_to_string(t->scope->protocol),
1445 (t->scope->protocol == DNS_PROTOCOL_LLMNR ||
1446 t->scope->protocol == DNS_PROTOCOL_MDNS)) {
1456 switch (t->scope->protocol) {
1469 assert_not_reached("bad protocol");
1487 log_debug("Delaying %s transaction for " USEC_FMT "us.", dns_protocol_to_string(t->scope->protocol), jitter);
1496 if (t->scope->protocol == DNS_PROTOCOL_LLMNR &&
1525 if (t->scope->protocol == DNS_PROTOCOL_LLMNR && ERRNO_IS_DISCONNECT(-r)) {
1527 * answer this request with this protocol. */
1532 if (t->scope->protocol != DNS_PROTOCOL_DNS)
1753 if (t->scope->protocol != DNS_PROTOCOL_DNS)