Home
last modified time | relevance | path

Searched refs:sadb_x_policy_type (Results 1 – 7 of 7) sorted by relevance

/freebsd/lib/libipsec/
H A Dipsec_dump_policy.c101 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()
H A Dpolicy_parse.y307 p->sadb_x_policy_type = p_type; in init_x_policy()
/freebsd/sys/netipsec/
H A Dipsec_pcb.c293 switch (xpl->sadb_x_policy_type) { in ipsec_set_pcbpolicy()
389 xpl->sadb_x_policy_type = IPSEC_POLICY_ENTRUST; in ipsec_get_pcbpolicy()
H A Dkey_debug.c531 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()
H A Dkey.c1534 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 …]
/freebsd/sys/net/
H A Dpfkeyv2.h225 u_int16_t sadb_x_policy_type; /* See policy type of ipsec.h */ member
/freebsd/sbin/setkey/
H A Dtest-pfkey.c249 m_policy.sadb_x_policy_type = SADB_X_PL_IPSEC;