Searched refs:optptr (Results 1 – 3 of 3) sorted by relevance
319 uint8_t *optptr; in udhcp_get_option() local323 while ((optptr = udhcp_scan_options(packet, &scan_state)) != NULL) { in udhcp_get_option()324 if (optptr[OPT_CODE] == code) { in udhcp_get_option()325 log_option("option found", optptr); in udhcp_get_option()326 return optptr + OPT_DATA; in udhcp_get_option()
480 uint8_t *optptr; in fill_envp() local495 while ((optptr = udhcp_scan_options(packet, &scan_state)) != NULL) { in fill_envp()499 uint8_t code = optptr[OPT_CODE]; in fill_envp()500 uint8_t len = optptr[OPT_LEN]; in fill_envp()501 uint8_t *data = optptr + OPT_DATA; in fill_envp()
1974 static char *optptr; /* used by nextopt */ variable1993 p = optptr; in nextopt()2025 optptr = p; in nextopt()10606 optptr = NULL; /* initialize nextopt */ in evalbltin()