Searched refs:conn_policy (Results 1 – 9 of 9) sorted by relevance
1482 if (connp->conn_policy != NULL) in ipsec_req_from_conn()1483 rv = ipsec_req_from_head(connp->conn_policy, req, af); in ipsec_req_from_conn()2093 if ((connp != NULL) && (connp->conn_policy != NULL)) { in ipsec_find_policy()2094 p = ipsec_find_policy_head(p, connp->conn_policy, in ipsec_find_policy()2527 policy_head = connp->conn_policy; in ipsec_check_inbound_policy()2564 policy_head = connp->conn_policy; in ipsec_check_inbound_policy()4216 if (!policy_present && (connp == NULL || connp->conn_policy == NULL)) in ip_output_attach_policy()4247 if (connp == NULL || connp->conn_policy == NULL) in ip_output_attach_policy()4322 if ((connp->conn_policy != NULL) || global_policy_present) { in ipsec_conn_cache_policy()4359 if (connp->conn_policy == NULL) { in ipsec_conn_cache_policy()[all …]
672 if (connp->conn_policy != NULL) { in ipcl_conn_destroy()673 IPPH_REFRELE(connp->conn_policy, ns); in ipcl_conn_destroy()674 connp->conn_policy = NULL; in ipcl_conn_destroy()2204 ASSERT(connp->conn_policy == NULL); in ipcl_conn_cleanup()
3199 ASSERT(lconnp->conn_policy != NULL); in ip_ipsec_policy_inherit()3200 ASSERT(connp->conn_policy == NULL); in ip_ipsec_policy_inherit()3202 IPPH_REFHOLD(lconnp->conn_policy); in ip_ipsec_policy_inherit()3203 connp->conn_policy = lconnp->conn_policy; in ip_ipsec_policy_inherit()6223 if (connp->conn_policy != NULL) { in ipsec_set_req()6224 IPPH_REFRELE(connp->conn_policy, ipst->ips_netstack); in ipsec_set_req()6225 connp->conn_policy = NULL; in ipsec_set_req()6232 ph = connp->conn_policy = ipsec_polhead_split(connp->conn_policy, in ipsec_set_req()
2136 if (connp->conn_policy != NULL) { in sctp_conn_clear()2137 IPPH_REFRELE(connp->conn_policy, connp->conn_netstack); in sctp_conn_clear()2138 connp->conn_policy = NULL; in sctp_conn_clear()
197 if (connp->conn_policy != NULL) { in sctp_conn_request()
384 ASSERT(connp->conn_policy == NULL); in tcp_time_wait_collector()
486 if (connp->conn_policy != NULL) { in tcp_ipsec_cleanup()487 IPPH_REFRELE(connp->conn_policy, connp->conn_netstack); in tcp_ipsec_cleanup()488 connp->conn_policy = NULL; in tcp_ipsec_cleanup()
1572 if (lconnp->conn_policy != NULL) { in tcp_input_listener()
320 struct ipsec_policy_head_s *conn_policy; /* Configured policy */ member