Home
last modified time | relevance | path

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

/dports/sysutils/toybox/toybox-0.8.5/toys/pending/
H A Ddhcpd.c527 static int striptovar(const char *str, void *var) in striptovar() function
606 striptovar(valstr, options_list[count].val); in strtoopt()
615 striptovar(valstr, ((uint8_t*)options_list[count].val)+options_list[count].len); in strtoopt()
637 if (striptovar(grp, (uint8_t*)&nip)<0) error_exit("wrong formatted static route option"); in strtoopt()
639 if (striptovar(tp, (uint8_t*)&router)<0) error_exit("wrong formatted static route option"); in strtoopt()
682 striptovar(tkip, &sltmp->nip); in get_staticlease()
691 {"start" , striptovar , (void*)&gconfig.start_ip , "192.168.0.20"},
692 {"end" , striptovar , (void*)&gconfig.end_ip , "192.168.0.254"},
704 {"siaddr" , striptovar , (void*)&gconfig.siaddr_nip , "0.0.0.0"},
711 {"start6" , striptovar , (void*)&gconfig.start_ip6 , "2001:620:40b:555::100"},
[all …]
H A Ddhcp.c376 static int striptovar( char *str, void *var) in striptovar() function
453 striptovar(valstr, options_list[count].val); in strtoopt()
462 striptovar(valstr, ((uint8_t*)options_list[count].val)+options_list[count].len); in strtoopt()
485 if (striptovar(grp, (uint8_t*)&nip) < 0) error_exit("malformed static route option"); in strtoopt()
487 if (striptovar(tp, (uint8_t*)&router) < 0) error_exit("malformed static route option"); in strtoopt()