Home
last modified time | relevance | path

Searched refs:polhead (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c5193 ipsec_policy_head_t *polhead; in ipsec_tun_outbound() local
5216 polhead = itp->itp_policy; in ipsec_tun_outbound()
5372 rw_enter(&polhead->iph_lock, RW_READER); in ipsec_tun_outbound()
5373 pol = ipsec_find_policy_head(NULL, polhead, IPSEC_TYPE_OUTBOUND, &sel); in ipsec_tun_outbound()
5374 rw_exit(&polhead->iph_lock); in ipsec_tun_outbound()
5555 ipsec_policy_head_t *polhead; in ipsec_tun_inbound() local
5589 polhead = itp->itp_policy; in ipsec_tun_inbound()
5784 rw_enter(&polhead->iph_lock, RW_READER); in ipsec_tun_inbound()
5785 pol = ipsec_find_policy_head(NULL, polhead, IPSEC_TYPE_INBOUND, in ipsec_tun_inbound()
5787 rw_exit(&polhead->iph_lock); in ipsec_tun_inbound()
H A Dsadb.c6828 ipsec_policy_head_t *polhead; local
6882 polhead = itp->itp_policy;
6883 ASSERT(polhead != NULL);
6884 rw_enter(&polhead->iph_lock, RW_READER);
6885 *ppp = ipsec_find_policy_head(NULL, polhead, IPSEC_TYPE_INBOUND, sel);
6886 rw_exit(&polhead->iph_lock);