Home
last modified time | relevance | path

Searched refs:dh (Results 1 – 2 of 2) sorted by relevance

/busybox-1.35.0/networking/udhcp/
Dcommon.c384 const struct dhcp_optflag *dh; in udhcp_add_simple_option() local
386 for (dh = dhcp_optflags; dh->code; dh++) { in udhcp_add_simple_option()
387 if (dh->code == code) { in udhcp_add_simple_option()
391 len = dhcp_option_lengths[dh->flags & OPTION_TYPE_MASK]; in udhcp_add_simple_option()
Ddhcpc.c459 static const char* get_optname(uint8_t code, const struct dhcp_optflag **dh) in get_optname() argument
468 for (*dh = dhcp_optflags; (*dh)->code && (*dh)->code < code; (*dh)++) in get_optname()
471 if ((*dh)->code == code) in get_optname()
472 return nth_string(dhcp_option_strings, (*dh - dhcp_optflags)); in get_optname()
496 const struct dhcp_optflag *dh; in fill_envp() local
504 opt_name = get_optname(code, &dh); in fill_envp()
506 new_opt = xmalloc_optname_optval(opt_item, dh, opt_name); in fill_envp()