/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/rdata/in_1/ |
H A D | dhcid_49.h | 23 unsigned char *dhcid; member in struct:dns_rdata_in_dhcid
|
H A D | dhcid_49.c | 125 dns_rdata_in_dhcid_t *dhcid = source; local 129 REQUIRE(dhcid != NULL); 130 REQUIRE(dhcid->common.rdtype == type); 131 REQUIRE(dhcid->common.rdclass == rdclass); 132 REQUIRE(dhcid->length != 0); 137 return (mem_tobuffer(target, dhcid->dhcid, dhcid->length)); 142 dns_rdata_in_dhcid_t *dhcid = target; local 147 REQUIRE(dhcid ! 167 dns_rdata_in_dhcid_t *dhcid = source; local [all...] |
/netbsd-current/external/mpl/bind/dist/lib/dns/rdata/in_1/ |
H A D | dhcid_49.h | 22 unsigned char *dhcid; member in struct:dns_rdata_in_dhcid
|
H A D | dhcid_49.c | 125 dns_rdata_in_dhcid_t *dhcid = source; local 129 REQUIRE(dhcid != NULL); 130 REQUIRE(dhcid->common.rdtype == type); 131 REQUIRE(dhcid->common.rdclass == rdclass); 132 REQUIRE(dhcid->length != 0); 137 return (mem_tobuffer(target, dhcid->dhcid, dhcid->length)); 142 dns_rdata_in_dhcid_t *dhcid = target; local 147 REQUIRE(dhcid ! 167 dns_rdata_in_dhcid_t *dhcid = source; local [all...] |
/netbsd-current/external/mpl/dhcp/dist/common/tests/ |
H A D | dns_unittest.c | 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 fo 62 call_get_std_dhcid(int test, int type, u_int8_t *clid, unsigned clidlen, char *name, unsigned namelen, u_int8_t *dhcid, unsigned dhcid_len) argument 121 call_get_int_dhcid(int test, int type, u_int8_t *clid, unsigned clidlen, char *dhcid, unsigned dhcid_len) argument [all...] |
/netbsd-current/external/mpl/dhcp/dist/common/ |
H A D | dns.c | 594 data_string_forget(&ddns_cb->dhcid, file, line); 1462 * mangles it into a dhcid string which it places in ddns_cb. It also 1464 * when sending the dhcid, in this case it is a DHCID record so we use 1484 struct data_string *id = &ddns_cb->dhcid; 1568 * mangles it into a dhcid string which it places in ddns_cb. It also 1570 * when sending the dhcid, in this case it is a txt record so we use 1574 * dhcid, they can't be changed now as that would break the records 1583 struct data_string *id = &ddns_cb->dhcid; 1673 * The dhcid (text version) that we pass to DNS includes a length byte 1678 * When converting from a dhcid t 1684 dhcid_tolease(struct data_string *dhcid, struct data_string *leaseid) argument 1694 dhcid_fromlease(struct data_string *dhcid, struct data_string *leaseid) argument [all...] |
/netbsd-current/external/mpl/dhcp/dist/server/ |
H A D | ddns.c | 43 char *ddns_standard_tag = "ddns-dhcid"; 536 * copy the string now so we can pass it to the dhcid routines 912 &ddns_cb->dhcid); 914 /* convert from dns version to lease version of dhcid */ 916 dhcid_tolease(&ddns_cb->dhcid, &lease_dhcid); 2105 * Find the txt or dhcid tag and copy it to the control block. If we 2116 data_string_copy(&ddns_cb->dhcid, &leaseid, MDL); 2123 if (dhcid_fromlease(&ddns_cb->dhcid, &leaseid) != 2125 /* We couldn't convert the dhcid from the lease
|
/netbsd-current/external/mpl/dhcp/bind/include/dns/ |
H A D | rdatastruct.h | 1507 unsigned char *dhcid; member in struct:dns_rdata_in_dhcid
|
/netbsd-current/external/mpl/bind/include/dns/ |
H A D | rdatastruct.h | 1355 unsigned char *dhcid; member in struct:dns_rdata_in_dhcid
|
/netbsd-current/external/mpl/dhcp/dist/client/ |
H A D | dhclient.c | 5281 * another attempt for later. We forget the name, dhcid and 5285 data_string_forget(&ddns_cb->dhcid, MDL); 5384 * construct the dhcid for either standard 5443 if (ddns_cb->fwd_name.len && ddns_cb->dhcid.len) {
|
/netbsd-current/external/mpl/dhcp/dist/includes/ |
H A D | dhcpd.h | 1816 struct data_string dhcid; member in struct:dhcp_ddns_cb
|