Lines Matching refs:striptovar
527 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 formated static route option"); in strtoopt()
639 if (striptovar(tp, (uint8_t*)&router)<0) error_exit("wrong formated 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"},
712 {"end6" , striptovar , (void*)&gconfig.end_ip6 , "2001:620:40b:555::200"},