Lines Matching refs:tdp
78 dhcp_confopt_t *ndp, tdp;
86 tdp.co_key = strdup(key);
87 tdp.co_type = DHCP_KEY;
88 tdp.co_value = strdup(value);
89 if (tdp.co_key == NULL || tdp.co_value == NULL) {
90 free(tdp.co_key);
91 free(tdp.co_value);
101 free(tdp.co_key);
102 free(tdp.co_value);
107 ndp[i] = tdp;
128 dhcp_confopt_t confopt, *tdp, *ddp = NULL;
189 tdp = realloc(ddp, (entry + 2) * sizeof (dhcp_confopt_t));
190 if (tdp == NULL)
193 tdp[entry] = confopt;
194 (void) memset(&tdp[entry + 1], 0, sizeof (dhcp_confopt_t));
195 ddp = tdp;
221 dhcp_confopt_t *tdp;
228 if ((tdp = find_dhcp_confopt(*ddpp, key)) != NULL) {
234 if (tdp->co_value != NULL)
235 free(tdp->co_value);
237 tdp->co_value = valp;
363 dhcp_confopt_t *tdp;
369 if ((tdp = find_dhcp_confopt(ddp, key)) != NULL) {
370 *value = strdup(tdp->co_value);
390 dhcp_confopt_t *tdp;
395 tdp = find_dhcp_confopt(ddp, DSVC_CK_CONVER);
396 if (tdp == NULL || tdp->co_value == NULL)
398 dsp->d_conver = atoi(tdp->co_value);