Lines Matching refs:opts
174 uchar_t *opts, *optmax, *subomax; in read_hostconf() local
180 opts = (uchar_t *)pkt + sizeof (dhcpv6_message_t); in read_hostconf()
182 while (opts + sizeof (d6o) <= optmax) { in read_hostconf()
188 (void) memcpy(&d6o, opts, sizeof (d6o)); in read_hostconf()
191 subomax = opts + sizeof (d6o) + d6o.d6o_len; in read_hostconf()
202 opts = subomax; in read_hostconf()
211 opts += sizeof (dhcpv6_ia_ta_t); in read_hostconf()
214 if (opts + sizeof (d6in) > subomax) { in read_hostconf()
215 opts = subomax; in read_hostconf()
218 (void) memcpy(&d6in, opts, in read_hostconf()
224 (void) memcpy(opts, &d6in, in read_hostconf()
226 opts += sizeof (d6in); in read_hostconf()
232 while (opts + sizeof (d6o) <= subomax) { in read_hostconf()
236 (void) memcpy(&d6o, opts, in read_hostconf()
240 if (opts + sizeof (d6o) + d6o.d6o_len > in read_hostconf()
244 opts += sizeof (d6o) + in read_hostconf()
252 if (opts + sizeof (d6ia) > subomax) in read_hostconf()
254 (void) memcpy(&d6ia, opts, in read_hostconf()
260 (void) memcpy(opts, &d6ia, in read_hostconf()
262 opts += sizeof (d6o) + d6o.d6o_len; in read_hostconf()
264 opts = subomax; in read_hostconf()
272 if (plp->opts[CD_LEASE_TIME] != NULL && in read_hostconf()
273 plp->opts[CD_LEASE_TIME]->len == in read_hostconf()
277 plp->opts[CD_LEASE_TIME]->value, in read_hostconf()
286 relativize_time(plp->opts[CD_T1_TIME], orig_time, in read_hostconf()
288 relativize_time(plp->opts[CD_T2_TIME], orig_time, in read_hostconf()
290 relativize_time(plp->opts[CD_LEASE_TIME], orig_time, in read_hostconf()