Lines Matching defs:plp
100 PKT_LIST *plp = NULL;
130 plp = NULL;
133 if ((plp = calloc(1, sizeof (PKT_LIST))) == NULL)
136 retval = read(fd, &plp->len, sizeof (plp->len));
144 free(plp);
146 } else if (retval != sizeof (plp->len))
149 if ((pkt = malloc(plp->len)) == NULL)
152 if (read(fd, pkt, plp->len) != plp->len)
155 plp->pkt = pkt;
157 plpp[pcnt] = plp;
159 if (!isv6 && dhcp_options_scan(plp, B_TRUE) != 0)
181 optmax = (uchar_t *)pkt + plp->len;
272 if (plp->opts[CD_LEASE_TIME] != NULL &&
273 plp->opts[CD_LEASE_TIME]->len ==
277 plp->opts[CD_LEASE_TIME]->value,
286 relativize_time(plp->opts[CD_T1_TIME], orig_time,
288 relativize_time(plp->opts[CD_T2_TIME], orig_time,
290 relativize_time(plp->opts[CD_LEASE_TIME], orig_time,
300 free(plp);