Searched refs:policy_out (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10/ppp-786.1.1/Helpers/vpnd/
H A Dipsec_utils.c1596 caddr_t policy_in = 0, policy_out = 0; local
1701 policy_out = ipsec_set_policy(policystr_out, strlen(policystr_out));
1702 if (policy_out == 0)
1706 policylen_out = (ALIGNED_CAST(struct sadb_x_policy *)policy_out)->sadb_x_policy_len << 3;
1764 err = pfkey_send_spdadd(s, (struct sockaddr *)&local_net, local_prefix, (struct sockaddr *)&remote_net, remote_prefix, protocol, policy_out, policylen_out, seq++);
1786 free(policy_out);
1788 policy_out = 0;
1800 if (policy_out)
1801 free(policy_out);
2113 caddr_t policy_in = 0, policy_out local
[all...]
/macosx-10.10/network_cmds-457/ping.tproj/
H A Dping.c264 char *policy_in, *policy_out; local
280 policy_in = policy_out = NULL;
479 policy_out = strdup(optarg);
743 if (policy_out != NULL) {
744 buf = ipsec_set_policy(policy_out, strlen(policy_out));
/macosx-10.10/network_cmds-457/ping6.tproj/
H A Dping6.c359 char *policy_out = NULL; local
624 if ((policy_out = strdup(optarg)) == NULL)
868 if (setpolicy(s, policy_out) < 0)

Completed in 72 milliseconds