Searched refs:sadb_x_policy_type (Results 1 – 7 of 7) sorted by relevance
101 switch (xpl->sadb_x_policy_type) { in ipsec_dump_policy()115 + strlen(ipsp_policy_strs[xpl->sadb_x_policy_type]) in ipsec_dump_policy()123 ipsp_policy_strs[xpl->sadb_x_policy_type]); in ipsec_dump_policy()125 if (xpl->sadb_x_policy_type != IPSEC_POLICY_IPSEC) { in ipsec_dump_policy()
307 p->sadb_x_policy_type = p_type; in init_x_policy()
293 switch (xpl->sadb_x_policy_type) { in ipsec_set_pcbpolicy()389 xpl->sadb_x_policy_type = IPSEC_POLICY_ENTRUST; in ipsec_get_pcbpolicy()
531 xpl->sadb_x_policy_type, xpl->sadb_x_policy_dir, in kdebug_sadb_x_policy()536 if (xpl->sadb_x_policy_type == IPSEC_POLICY_IPSEC) { in kdebug_sadb_x_policy()
1534 newsp->policy = xpl0->sadb_x_policy_type; in key_msg2sp()1539 switch (xpl0->sadb_x_policy_type) { in key_msg2sp()1836 xpl->sadb_x_policy_type = sp->policy; in key_sp2msg()2033 if (xpl0->sadb_x_policy_type != IPSEC_POLICY_DISCARD && in key_spdadd()2034 xpl0->sadb_x_policy_type != IPSEC_POLICY_NONE && in key_spdadd()2035 xpl0->sadb_x_policy_type != IPSEC_POLICY_IPSEC) { in key_spdadd()2041 if (xpl0->sadb_x_policy_type == IPSEC_POLICY_IPSEC && in key_spdadd()2261 if (xpl0->sadb_x_policy_type != IPSEC_POLICY_DISCARD && in key_spddelete()2262 xpl0->sadb_x_policy_type != IPSEC_POLICY_NONE && in key_spddelete()2263 xpl0->sadb_x_policy_type != IPSEC_POLICY_IPSEC) { in key_spddelete()[all …]
225 u_int16_t sadb_x_policy_type; /* See policy type of ipsec.h */ member
249 m_policy.sadb_x_policy_type = SADB_X_PL_IPSEC;