Lines Matching full:policy
72 #include "policy.h"
82 #include "policy.h"
1079 /* generate a policy template from peer's proposal */
1663 * set policies into SPD if the policy is generated
1664 * from peer's policy.
1674 /* make inbound policy */
1687 /* make forward policy if required */
1700 /* make outbound policy */
1901 * Then get remote's policy from SPD copied from kernel.
1949 /* get a destination address of a policy */
1960 * a destination address to search for a inbound policy entry
1985 * of the key to search the SPD because the direction of policy
2094 * policy is selected. The only way to get the security context
2104 /* get inbound policy */
2109 "no policy found, "
2110 "try to generate the policy : %s\n",
2122 "no policy found: %s\n", spidx2str(&spidx));
2129 "Update the generated policy : %s\n",
2140 /* get outbound policy */
2156 "no outbound policy found: %s\n",
2165 * In the responder side, the inbound policy should be using IPsec.
2166 * outbound policy is not checked currently.
2168 if (sp_in->policy != IPSEC_POLICY_IPSEC) {
2170 "policy found, but no IPsec required: %s\n",
2175 /* set new proposal derived from a policy into the iph2->proposal. */