Lines Matching defs:dhcid
25 * Currently this is limited to verifying the dhcid code is
32 * The tests for the standard dhcid records compare to values
65 u_int8_t *dhcid, unsigned dhcid_len)
81 atf_tc_fail("Unable to get std dhcid for %d", test);
83 atf_tc_fail("Wrong class for std dhcid for %d", test);
84 } else if (ddns_cb.dhcid.len != dhcid_len) {
85 atf_tc_fail("Wrong length for std dhcid for %d", test);
86 } else if (memcmp(ddns_cb.dhcid.data, dhcid, dhcid_len) != 0) {
87 atf_tc_fail("Wrong digest for std dhcid for %d", test);
91 data_string_forget(&ddns_cb.dhcid, MDL);
99 atf_tc_set_md_var(tc, "descr", "Verify standard dhcid construction.");
123 char *dhcid, unsigned dhcid_len)
131 atf_tc_fail("Unable to get txt dhcid for %d", test);
133 atf_tc_fail("Wrong class for txt dhcid for %d", test);
134 } else if (ddns_cb.dhcid.len != dhcid_len) {
135 atf_tc_fail("Wrong length for txt dhcid for %d", test);
136 } else if (memcmp(ddns_cb.dhcid.data, dhcid, dhcid_len) != 0) {
137 atf_tc_fail("Wrong digest for txt dhcid for %d", test);
141 data_string_forget(&ddns_cb.dhcid, MDL);
150 atf_tc_set_md_var(tc, "descr", "Verify interim dhcid construction.");