Host ownership is currently represented by an IPv4 A record.
| 842 | |
| 843 | // Host ownership is currently represented by an IPv4 A record. |
| 844 | static uint32_t BuildHostProbeRecordSet(const RegisteredService& service, ProbeRecord* records, uint32_t max_records) |
| 845 | { |
| 846 | uint32_t count = 0; |
| 847 | if (service.m_ProbeHost && count < max_records && BuildProbeRecord(service, service.m_HostLocal, DNS_TYPE_A, &records[count])) |
| 848 | ++count; |
| 849 | return count; |
| 850 | } |
| 851 | |
| 852 | // RFC 6762 compares tentative records lexicographically as unsigned bytes. |
| 853 | static int CompareProbeData(const uint8_t* a, uint16_t a_length, const uint8_t* b, uint16_t b_length) |
no test coverage detected