Lines Matching defs:ip
56 char *ip = cfg_opt_getnstr(opt, i);
57 if(inet_aton(ip, &addr) == 0)
59 /* cfg_error(cfg, "invalid IP address %s in section %s", ip, cfg->name); */
108 CFG_STR_LIST("ip-address", 0, CFGF_NONE),
117 cfg_set_validate_func(cfg, "ip-address", validate_ip);
118 fail_unless(cfg_set_validate_func(cfg, "ip-address", validate_ip) == validate_ip);
119 opt = cfg_getopt(cfg, "ip-address");
170 buf = "ip-address = { 0.0.0.0 , 1.2.3.4 , 192.168.0.254 , 10.0.0.255 , 20.30.40.256}";
172 buf = "ip-address = { 0.0.0.0 , 1.2.3.4 , 192.168.0.254 , 10.0.0.255 , 20.30.40.250}";
174 buf = "ip-address = { 1.2.3. }";