Searched refs:option_strings (Results 1 – 2 of 2) sorted by relevance
/busybox-1.35.0/networking/udhcp/ |
D | common.h | 230 unsigned FAST_FUNC udhcp_option_idx(const char *name, const char *option_strings); 344 #define udhcp_str2optset(str, arg, optflags, option_strings, dhcpv6) \ argument 345 udhcp_str2optset(str, arg, optflags, option_strings) 350 const char *option_strings,
|
D | common.c | 209 unsigned FAST_FUNC udhcp_option_idx(const char *name, const char *option_strings) in udhcp_option_idx() argument 211 int n = index_in_strings(option_strings, name); in udhcp_option_idx() 219 s = option_strings; in udhcp_option_idx() 223 d = buf = xzalloc(s - option_strings); in udhcp_option_idx() 224 s = option_strings; in udhcp_option_idx() 559 const struct dhcp_optflag *optflags, const char *option_strings, in udhcp_str2optset() argument 590 optflag = &optflags[udhcp_option_idx(opt, option_strings)]; in udhcp_str2optset()
|