Lines Matching refs:raopt

267 typedef struct raopt {  struct
479 raopt_t *raopt; in main() local
521 if ((raopt = ra_str2opt(optarg)) != NULL) { in main()
525 raopt->opt_enabled = B_FALSE; in main()
535 raopt->opt_enabled = B_TRUE; in main()
544 raopt->opt_default_fmri, raopt) in main()
547 if (raopt->opt_enabled && in main()
552 raopt->opt_enabled = in main()
553 raopt->opt_default_enabled; in main()
557 raopt->opt_fmri, raopt) == -1) in main()
570 if (!booting && (raopt->opt_flags & in main()
576 raopt->opt_default_fmri, raopt) in main()
1341 ra_routing_opt_set_unset_cb(raopt_t *raopt, scf_walkinfo_t *wip, boolean_t set) in ra_routing_opt_set_unset_cb() argument
1347 raopt->opt_flags & RA_SVC_FLAG_IPV4_ROUTING ? in ra_routing_opt_set_unset_cb()
1367 ra_get_set_opt_common_cb(raopt_t *raopt, scf_walkinfo_t *wip, in ra_get_set_opt_common_cb() argument
1388 if (ra_get_pg(h, inst, RA_PG_ROUTEADM, B_TRUE, raopt->opt_fmri != NULL, in ra_get_set_opt_common_cb()
1392 raopt->opt_fmri == NULL) in ra_get_set_opt_common_cb()
1399 if (raopt->opt_fmri == NULL && ra_get_prop_as_string(h, inst, in ra_get_set_opt_common_cb()
1412 if (raopt->opt_flags & RA_SVC_FLAG_IPV4_ROUTING) { in ra_get_set_opt_common_cb()
1428 if (raopt->opt_flags & RA_SVC_FLAG_IPV6_ROUTING) { in ra_get_set_opt_common_cb()
1447 if (raopt->opt_enabled && ra_numv6intfs() < 1) in ra_get_set_opt_common_cb()
1453 if (raopt->opt_fmri == NULL && !get && raopt->opt_enabled) { in ra_get_set_opt_common_cb()
1488 raopt->opt_enabled = raopt->opt_enabled || in ra_get_set_opt_common_cb()
1491 raopt->opt_enabled = raopt->opt_enabled || in ra_get_set_opt_common_cb()
1523 SCF_PROPERTY_ENABLED, B_FALSE, raopt->opt_enabled); in ra_get_set_opt_common_cb()
1530 if (raopt->opt_fmri != NULL) in ra_get_set_opt_common_cb()
1576 raopt_t *raopt = data; in ra_set_default_opt_cb() local
1579 raopt->opt_default_prop, B_FALSE, raopt->opt_default_enabled)); in ra_set_default_opt_cb()
1587 raopt_t *raopt = data; in ra_get_default_opt_cb() local
1590 raopt->opt_default_prop, B_TRUE, B_TRUE, in ra_get_default_opt_cb()
1591 &(raopt->opt_default_enabled))); in ra_get_default_opt_cb()
2384 raopt_t *raopt; in ra_parseconf() local
2420 if ((raopt = ra_str2opt(confstr)) != NULL) { in ra_parseconf()
2421 if (ra_parseopt(confstr, lineno, raopt) != 0) { in ra_parseconf()
2445 ra_parseopt(char *confstr, int lineno, raopt_t *raopt) in ra_parseopt() argument
2463 raopt->opt_enabled = oval == OPT_ENABLED; in ra_parseopt()
2479 raopt->opt_default_enabled = d_oval == OPT_ENABLED; in ra_parseopt()
2481 raopt->opt_enabled = d_oval == OPT_ENABLED; in ra_parseopt()
2491 if (raopt->opt_flags & (RA_SVC_FLAG_IPV4_ROUTING | in ra_parseopt()
2494 ra_routing_opt_set_cb, raopt->opt_default_fmri, raopt) in ra_parseopt()