Lines Matching refs:class
331 static int resolve_record(sd_bus *bus, const char *name, uint16_t class, uint16_t type) {
345 log_debug("Resolving %s %s %s (interface %s).", name, dns_class_to_string(class), dns_type_to_string(type), isempty(ifname) ? "*" : ifname);
357 r = sd_bus_message_append(req, "isqqt", arg_ifindex, name, class, type, arg_flags);
445 uint16_t type = 0, class = 0;
481 f = startswith_no_case(q, "class=");
486 if (class != 0) {
487 log_error("DNS class specified twice.");
498 log_error("Unknown DNS class %s.", t);
502 class = r;
553 if (class == 0)
554 class = arg_class;
555 if (class == 0)
556 class = DNS_CLASS_IN;
558 return resolve_record(bus, n, class, type);
944 " -c --class=CLASS|help Query RR with DNS class\n"
973 { "class", required_argument, NULL, 'c' },
1051 log_error("Failed to parse RR record class %s", optarg);
1146 log_error("--class= may only be used in conjunction with --type=.");