Lines Matching refs:cip
324 struct configinfo *cip; in set_protocol_defaults() local
328 for (cip = iflist; cip->ci_name != NULL; cip++) { in set_protocol_defaults()
329 ifdefaults[cip->ci_index].cf_value = cip->ci_default; in set_protocol_defaults()
330 ifdefaults[cip->ci_index].cf_notdefault = _B_FALSE; in set_protocol_defaults()
332 for (cip = prefixlist; cip->ci_name != NULL; cip++) { in set_protocol_defaults()
333 prefixdefaults[cip->ci_index].cf_value = cip->ci_default; in set_protocol_defaults()
334 prefixdefaults[cip->ci_index].cf_notdefault = _B_FALSE; in set_protocol_defaults()
341 struct configinfo *cip; in print_iflist() local
343 for (cip = iflist; cip->ci_name != NULL; cip++) { in print_iflist()
345 cip->ci_name, cip->ci_min, cip->ci_max, cip->ci_default, in print_iflist()
346 confvar[cip->ci_index].cf_value, in print_iflist()
347 confvar[cip->ci_index].cf_notdefault); in print_iflist()
354 struct configinfo *cip; in print_prefixlist() local
356 for (cip = prefixlist; cip->ci_name != NULL; cip++) { in print_prefixlist()
358 cip->ci_name, cip->ci_min, cip->ci_max, cip->ci_default, in print_prefixlist()
359 confvar[cip->ci_index].cf_value, in print_prefixlist()
360 confvar[cip->ci_index].cf_notdefault); in print_prefixlist()
494 struct configinfo *cip; in parse_var_value() local
502 for (cip = list; cip->ci_name != NULL; cip++) { in parse_var_value()
503 if (strcasecmp(cip->ci_name, varstr) == 0) in parse_var_value()
506 if (cip->ci_name == NULL) { in parse_var_value()
510 if (!(*cip->ci_parsefunc)(valstr, &val)) { in parse_var_value()
514 if (cip->ci_min != 0 && val < cip->ci_min) { in parse_var_value()
516 valstr, cip->ci_min, varstr); in parse_var_value()
519 if (cip->ci_max != ~0U && val > cip->ci_max) { in parse_var_value()
521 valstr, cip->ci_max, varstr); in parse_var_value()
526 if (cip->ci_index == I_MinRtrAdvInterval && in parse_var_value()
534 if (cip->ci_index == I_MaxRtrAdvInterval && in parse_var_value()
542 if (cip->ci_index == I_AdvDefaultLifetime && in parse_var_value()
551 if (cip->ci_index == I_MaxRtrAdvInterval && in parse_var_value()
560 confvar[cip->ci_index].cf_value = val; in parse_var_value()
561 confvar[cip->ci_index].cf_notdefault = _B_TRUE; in parse_var_value()
565 if (cip->ci_index == I_MaxRtrAdvInterval && in parse_var_value()
568 if (cip->ci_index == I_MaxRtrAdvInterval && in parse_var_value()