Searched refs:mx (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/resolve/ |
D | test-dnssec.c | 111 … _cleanup_(dns_resource_record_unrefp) DnsResourceRecord *dnskey = NULL, *ds = NULL, *mx = NULL, in TEST() 140 mx = dns_resource_record_new_full(DNS_CLASS_IN, DNS_TYPE_MX, "example.com."); in TEST() 141 assert_se(mx); in TEST() 143 mx->mx.priority = 10; in TEST() 144 mx->mx.exchange = strdup("mail.example.com."); in TEST() 145 assert_se(mx->mx.exchange); in TEST() 147 log_info("MX: %s", strna(dns_resource_record_to_string(mx))); in TEST() 167 assert_se(dnssec_key_match_rrsig(mx->key, rrsig) > 0); in TEST() 172 assert_se(dns_answer_add(answer, mx, 0, DNS_ANSWER_AUTHENTICATED, NULL) >= 0); in TEST() 174 assert_se(dnssec_verify_rrset(answer, mx->key, rrsig, dnskey, in TEST() [all …]
|
D | resolved-dns-rr.c | 432 free(rr->mx.exchange); in dns_resource_record_free() 617 if (a->mx.priority != b->mx.priority) in dns_resource_record_payload_equal() 620 return dns_name_equal(a->mx.exchange, b->mx.exchange); in dns_resource_record_payload_equal() 906 rr->mx.priority, in dns_resource_record_to_string() 907 rr->mx.exchange); in dns_resource_record_to_string() 1386 siphash24_compress(&rr->mx.priority, sizeof(rr->mx.priority), state); in dns_resource_record_hash_func() 1387 dns_name_hash_func(rr->mx.exchange, state); in dns_resource_record_hash_func() 1561 copy->mx.priority = rr->mx.priority; in dns_resource_record_copy() 1562 copy->mx.exchange = strdup(rr->mx.exchange); in dns_resource_record_copy() 1563 if (!copy->mx.exchange) in dns_resource_record_copy()
|
D | resolved-dns-rr.h | 160 } mx; member
|
D | resolved-dns-packet.c | 991 r = dns_packet_append_uint16(p, rr->mx.priority, NULL); in dns_packet_append_rr() 995 r = dns_packet_append_name(p, rr->mx.exchange, true, true, NULL); in dns_packet_append_rr() 1821 r = dns_packet_read_uint16(p, &rr->mx.priority, NULL); in dns_packet_read_rr() 1825 r = dns_packet_read_name(p, &rr->mx.exchange, true, NULL); in dns_packet_read_rr()
|
/systemd-251/src/shared/ |
D | parse-helpers.c | 112 uint16_t mn = 0, mx = 0; in parse_ip_ports_token() local 113 int r = parse_ip_port_range(token, &mn, &mx); in parse_ip_ports_token() 117 *nr_ports = mx - mn + 1; in parse_ip_ports_token()
|
/systemd-251/docs/ |
D | style.css | 308 .highlight .m, .highlight .mb, .highlight .mx { 491 …b, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
|