Lines Matching refs:start
45 field_scan(uint8_t *start, uint8_t *end, DHCP_OPT **options,
50 while (start < end) {
51 if (*start == CD_PAD) {
52 start++;
55 if (*start == CD_END)
57 if (*start > last_option) {
58 if (++start < end)
59 start += *start + 1;
63 current = start;
64 if (++start < end)
65 start += *start + 1; /* advance to next option */
91 uint8_t *start, *end, len;
96 start = pl->opts[CD_VENDOR_SPEC]->value;
99 if (((start - (uint8_t *)pl->pkt) + len) > pl->len)
102 end = start + len;
103 field_scan(start, end, pl->vs, VS_OPTION_END);