Home
last modified time | relevance | path

Searched refs:OPT_CODE (Results 1 – 4 of 4) sorted by relevance

/busybox-1.35.0/networking/udhcp/
Dcommon.c202 bb_info_msg("%s: 0x%02x %s", pfx, opt[OPT_CODE], buf); in log_option()
261 if (scan_state->optionptr[OPT_CODE] == DHCP_PADDING) { in udhcp_scan_options()
266 if (scan_state->optionptr[OPT_CODE] == DHCP_END) { in udhcp_scan_options()
302 if (scan_state->optionptr[OPT_CODE] == DHCP_OPTION_OVERLOAD) { in udhcp_scan_options()
324 if (optptr[OPT_CODE] == code) { in udhcp_get_option()
372 addopt[OPT_CODE]); in udhcp_add_binary_option()
390 option[OPT_CODE] = code; in udhcp_add_simple_option()
416 cur_code = opt_list->data[OPT_CODE]; in udhcp_find_option()
459 new->data[OPT_CODE] = code; in udhcp_insert_new_option()
471 while (*curr && (*curr)->data[OPT_CODE] < code) in udhcp_insert_new_option()
Dcommon.h190 #define OPT_CODE 0 macro
Ddhcpd.c90 st_lease->opt[OPT_CODE] = DHCP_HOST_NAME; in add_static_lease()
678 if (config_opts->data[OPT_CODE] != DHCP_LEASE_TIME) { in add_server_options()
683 if (config_opts->data[OPT_CODE] != DHCP_HOST_NAME in add_server_options()
Ddhcpc.c499 uint8_t code = optptr[OPT_CODE]; in fill_envp()
637 packet->options[end + OPT_CODE] = DHCP_PARAM_REQ; in add_client_options()