Lines Matching refs:options
25 * Routines used to extract/insert DHCP options. Must be kept MT SAFE,
42 * Scan field for options.
45 field_scan(uint8_t *start, uint8_t *end, DHCP_OPT **options,
67 /* all options besides CD_END and CD_PAD should have a len */
71 /* Ignores duplicate options. */
72 if (options[*current] == NULL) {
74 options[*current] = (DHCP_OPT *)current;
77 if ((current + options[*current]->len + 1) >= end) {
78 options[*current] = NULL;
86 * Scan Vendor field for options.
107 * Load opts table in PKT_LIST entry with PKT's options.
128 /* check the options field */
129 field_scan(pkt->options, &pkt->options[opt_size], pl->opts,
133 * process vendor specific options. We look at the vendor options
135 * options. This increases our interoperability with BOOTP.
180 * options within options, and this function is designed to work with both
181 * primary options and the suboptions contained within.
184 * over options of the same code number. The 'codenum' is in host byte order
189 * defines options without alignment. The caller must deal with unaligned
223 * uses nested options within options, and this function returns only the
224 * primary options. Use dhcpv6_find_option to traverse suboptions.