Lines Matching refs:optionset

63  *	If the group has an optionset with the specified protocol,
69 sa_optionset_t optionset;
72 optionset = sa_get_optionset(group, protocol);
73 if (optionset != NULL) {
700 * general or specific to a names optionset.
811 * Add the options in optlist to an optionset and then add the optionset
820 sa_optionset_t optionset;
825 optionset = sa_get_optionset(group, proto);
826 if (optionset == NULL) {
827 optionset = sa_create_optionset(group, proto);
828 if (optionset == NULL)
832 if (optionset == NULL) {
843 prop = sa_get_property(optionset, optlist->optname);
854 optionset, proto, prop);
865 ret = sa_add_property(optionset, prop);
891 ret = sa_commit_properties(optionset, 0);
1147 sa_optionset_t optionset;
1158 optionset = sa_create_optionset(group, protolist[i]);
1159 if (optionset == NULL) {
1334 sa_optionset_t optionset;
1347 * optionset(s) to the group.
1353 optionset = sa_create_optionset(group,
1355 if (optionset == NULL)
1567 sa_optionset_t optionset;
1577 optionset = sa_get_optionset(group, protocol);
1578 if (optionset != NULL && !dryrun) {
1580 * have an optionset with
1583 ret = sa_destroy_optionset(optionset);
1676 sa_optionset_t optionset;
1688 for (optionset = sa_get_optionset(group, NULL);
1689 optionset != NULL && buff != NULL;
1690 optionset = sa_get_next_optionset(optionset)) {
1692 * extract out the protocol type from this optionset
1696 proto = sa_get_optionset_attr(optionset, "type");
1816 * out_properties(optionset, proto, sec)
1819 * optionset into the string.
1825 out_properties(sa_optionset_t optionset, char *proto, char *sec)
1837 for (spacer = 0, prop = sa_get_property(optionset, NULL);
1881 sa_optionset_t optionset;
1887 optionset = sa_get_optionset(group, protocol);
1888 if (optionset != NULL) {
1891 out_properties(optionset, protocol, NULL);
1900 for (optionset = sa_get_optionset(group, protocol);
1901 optionset != NULL;
1902 optionset = sa_get_next_optionset(optionset)) {
1904 value = sa_get_optionset_attr(optionset, "type");
1907 out_properties(optionset, value, 0);
2406 sa_optionset_t optionset;
2432 * Step through each optionset at the group level and
2438 for (optionset = sa_get_optionset(group, NULL);
2439 optionset != NULL && ret == SA_OK;
2440 optionset = sa_get_next_optionset(optionset)) {
2441 value = sa_get_optionset_attr(optionset, "type");
2496 sa_optionset_t optionset;
2498 for (optionset = sa_get_optionset(group, NULL);
2499 optionset != NULL;
2500 optionset = sa_get_next_optionset(optionset)) {
2503 proto = sa_get_optionset_attr(optionset, "type");
3524 * Helper function to add a security option (named optionset) to the
4047 sa_optionset_t optionset;
4052 optionset = sa_get_optionset(group, proto);
4053 if (optionset != NULL) {
4055 prop = sa_get_property(optionset, cur->optname);
4065 ret = sa_commit_properties(optionset, 0);
4083 sa_optionset_t optionset;
4087 optionset = sa_get_optionset(group, proto);
4088 if (optionset != NULL) {
4090 prop = sa_get_property(optionset, cur->optname);
4190 * Unset non-named optionset properties.
4260 sa_optionset_t optionset;
4265 * If a share optionset is
4268 optionset = sa_get_optionset((sa_share_t)share,
4270 if (optionset != NULL) {
4271 prop = sa_get_property(optionset, NULL);
4274 optionset);
4314 * Unset named optionset properties.
4346 sa_security_t optionset;
4352 optionset = sa_get_security((sa_group_t)share,
4354 if (optionset != NULL) {
4355 prop = sa_get_property(optionset,
4359 optionset);
5174 sa_optionset_t optionset;
5178 optionset = sa_get_optionset(share, proto);
5179 if (optionset != NULL)
5180 (void) sa_destroy_optionset(optionset);