Lines Matching refs:policy
77 #include "policy.h"
1052 /* generate a policy template from peer's proposal */
1619 * set policies into SPD if the policy is generated
1620 * from peer's policy.
1630 /* make inbound policy */
1641 /* make outbound policy */
1823 * Then get remote's policy from SPD copied from kernel.
1871 /* get a destination address of a policy */
1882 * a destination address to search for a inbound policy entry
1907 * of the key to search the SPD because the direction of policy
2003 /* get inbound policy */
2008 "no policy found, "
2009 "try to generate the policy : %s\n",
2021 "no policy found: %s\n", spidx2str(&spidx));
2025 /* get outbound policy */
2041 "no outbound policy found: %s\n",
2050 * In the responder side, the inbound policy should be using IPsec.
2051 * outbound policy is not checked currently.
2053 if (sp_in->policy != IPSEC_POLICY_IPSEC) {
2055 "policy found, but no IPsec required: %s\n",
2060 /* set new proposal derived from a policy into the iph2->proposal. */