Lines Matching refs:extra
159 /* concatenates extra onto list */
161 ptrlist_concat(ptrlist_t * list, ptrlist_t * extra)
163 if (extra->count == 0)
166 if ((extra->count + list->count) > list->size) {
169 list->size = extra->count + list->count;
178 bcopy(extra->array, list->array + list->count,
179 extra->count * sizeof(*list->array));
180 list->count += extra->count;
222 dhcpol_concat(dhcpol_t * list, dhcpol_t * extra)
224 return (ptrlist_concat((ptrlist_t *)list, (ptrlist_t *)extra));
398 dhcpol_t extra;
400 dhcpol_init(&extra);
403 if (dhcpol_parse_buffer(&extra, pkt->dp_file,
405 dhcpol_concat(options, &extra);
406 dhcpol_free(&extra);
411 if (dhcpol_parse_buffer(&extra, pkt->dp_sname,
413 dhcpol_concat(options, &extra);
414 dhcpol_free(&extra);