Searched refs:striptovar (Results 1 – 2 of 2) sorted by relevance
/external/toybox/toys/pending/ |
D | dhcpd.c | 371 static int striptovar(const char *str, void *var) in striptovar() function 452 striptovar(valstr, options_list[count].val); in strtoopt() 461 striptovar(valstr, ((uint8_t*)options_list[count].val)+options_list[count].len); in strtoopt() 483 if (striptovar(grp, (uint8_t*)&nip)<0) error_exit("wrong formated static route option"); in strtoopt() 485 if (striptovar(tp, (uint8_t*)&router)<0) error_exit("wrong formated static route option"); in strtoopt() 528 striptovar(tkip, &sltmp->nip); in get_staticlease() 537 {"start" , striptovar , (void*)&gconfig.start_ip , "192.168.0.20"}, 538 {"end" , striptovar , (void*)&gconfig.end_ip , "192.168.0.254"}, 549 {"siaddr" , striptovar , (void*)&gconfig.siaddr_nip , "0.0.0.0"},
|
D | dhcp.c | 379 static int striptovar( char *str, void *var) in striptovar() function 456 striptovar(valstr, options_list[count].val); in strtoopt() 465 striptovar(valstr, ((uint8_t*)options_list[count].val)+options_list[count].len); in strtoopt() 488 if (striptovar(grp, (uint8_t*)&nip) < 0) error_exit("malformed static route option"); in strtoopt() 490 if (striptovar(tp, (uint8_t*)&router) < 0) error_exit("malformed static route option"); in strtoopt()
|