Lines Matching refs:option
31 * and create new dhcp option areas
232 * list of option pointers in the given dhcpol_t.
285 * Finds the first occurence of the given option, and returns its
286 * length and the option data pointer.
290 * calls will retrieve the next occurence of the option.
305 const uint8_t * option = dhcpol_element(list, i);
307 if (option[DHCP_TAG_OFFSET] == tag) {
309 *len_p = option[DHCP_LEN_OFFSET];
312 return (option + DHCP_OPTION_OFFSET);
323 * Accumulate all occurences of the given option into a
325 * all occurrences of a particular option in a single
341 const uint8_t * option = dhcpol_element(list, i);
343 if (option[DHCP_TAG_OFFSET] == tag) {
344 int len = option[DHCP_LEN_OFFSET];
353 bcopy(option + DHCP_OPTION_OFFSET, data + data_len, len);
366 * Parse the option areas in the DHCP packet.
368 * then parses and accumulates the option areas.
370 * the overload option, it parses pkt->dp_file if specified,
427 * Types and functions to create new dhcp option areas.
434 * Initialize an option area structure so that it can be used
470 * Add an option to the option area.
473 dhcpoa_add(dhcpoa_t * oa_p, dhcptag_t tag, int len, const void * option)
476 dprintf(("tag %d option %d > %d\n", tag, len, DHCP_OPTION_SIZE_MAX));
521 option, len);
534 * Add a dhcp message option to the option area.