Searched refs:policy_table (Results 1 – 4 of 4) sorted by relevance
58 static policy_entry_t policy_table[] = { variable80 #define POLICY_TBL_SZ (sizeof (policy_table) / sizeof (policy_entry_t))
697 cur_policy_str = policy_table[i].policy_str; in do_getpolicy_scf()749 cur_policy_str = policy_table[i].policy_str; in do_setpolicy_scf()756 if (policy_table[i].policy_mask & policy) { in do_setpolicy_scf()1280 if (strcasecmp(policy, policy_table[i].policy_str) == 0) { in get_policy()1281 return (policy_table[i].policy_mask); in get_policy()
79 ip6_asp_t *policy_table; in main() local118 if ((count = parseconf(conf_filename, &policy_table)) <= 0) in main()120 status = setpolicy(sock, policy_table, count); in main()121 free(policy_table); in main()
1757 (void) printf("%-17s%s\n", policy_table[i].policy_str, in do_lspolicy()1758 gettext(policy_table[i].policy_desc)); in do_lspolicy()2552 if (policy & policy_table[i].policy_mask && in policy2str()2553 policy_table[i].policy_mask != ALL_POLICIES) { in policy2str()2557 (void) strlcat(policy_str, policy_table[i].policy_str, in policy2str()