Lines Matching defs:econnp
937 conn_t *econnp = (conn_t *)arg;
938 tcp_t *eager = econnp->conn_tcp;
947 econnp->conn_rq = NULL;
948 econnp->conn_wq = NULL;
955 if (econnp->conn_fanout != NULL && eager->tcp_state > TCPS_LISTEN) {
972 CONN_DEC_REF(econnp);
1268 conn_t *econnp = NULL;
1408 econnp = (conn_t *)tcp_get_conn(arg2, tcps);
1409 if (econnp == NULL)
1412 ASSERT(econnp->conn_netstack == lconnp->conn_netstack);
1413 econnp->conn_sqp = new_sqp;
1414 econnp->conn_initial_sqp = new_sqp;
1415 econnp->conn_ixa->ixa_sqp = new_sqp;
1417 econnp->conn_fport = tcpha->tha_lport;
1418 econnp->conn_lport = tcpha->tha_fport;
1420 err = conn_inherit_parent(lconnp, econnp);
1425 econnp->conn_ixa->ixa_src_generation = ipst->ips_src_generation;
1433 tpi_mp = tcp_conn_create_v4(lconnp, econnp, mp, ira);
1435 tpi_mp = tcp_conn_create_v6(lconnp, econnp, mp, ira);
1441 eager = econnp->conn_tcp;
1451 ASSERT((econnp->conn_ixa->ixa_flags &
1458 econnp->conn_ixa->ixa_flags |= IXAF_NO_DEV_FLOW_CTL;
1464 if (!(ira->ira_flags & IRAF_IS_IPV4) && econnp->conn_bound_if == 0) {
1465 if (IN6_IS_ADDR_LINKSCOPE(&econnp->conn_faddr_v6) ||
1466 IN6_IS_ADDR_LINKSCOPE(&econnp->conn_laddr_v6)) {
1467 econnp->conn_incoming_ifindex = ifindex;
1468 econnp->conn_ixa->ixa_flags |= IXAF_SCOPEID_SET;
1469 econnp->conn_ixa->ixa_scopeid = ifindex;
1477 ip_pkt_t *ipp = &econnp->conn_xmit_ipp;
1502 econnp->conn_flags |= IPCL_NONSTR;
1516 * Now that the IP addresses and ports are setup in econnp we
1525 if (!ip_ipsec_policy_inherit(econnp, lconnp, ira)) {
1526 CONN_DEC_REF(econnp);
1541 ip_xmit_attr_t *ixa = econnp->conn_ixa;
1566 econnp, ts_label_t *, ixa->ixa_tsl)
1568 ixa->ixa_tsl = crgetlabel(econnp->conn_cred);
1570 econnp, ts_label_t *, ixa->ixa_tsl)
1593 TCP_BIND_HASH(econnp->conn_lport)], eager, 0);
1595 CL_INET_CONNECT(econnp, B_FALSE, err);
1634 (eager->tcp_rwnd == 0 ? econnp->conn_rcvbuf :
1649 ASSERT(econnp->conn_rcvbuf != 0 &&
1650 econnp->conn_rcvbuf == eager->tcp_rwnd);
1690 if (addr_cache != NULL && econnp->conn_faddr_v4 ==
1691 addr_cache[IP_ADDR_CACHE_HASH(econnp->conn_faddr_v4)]) {
1712 econnp->conn_ixa, void, NULL, tcp_t *, eager, void, NULL,
1722 CONN_INC_REF(econnp);
1752 CONN_INC_REF(econnp);
1760 if (ipcl_conn_insert(econnp) != 0)
1763 ASSERT(econnp->conn_ixa->ixa_notify_cookie == econnp->conn_tcp);
1769 if (econnp->conn_sqp == lconnp->conn_sqp) {
1771 econnp->conn_ixa, __dtrace_tcp_void_ip_t *, mp1->b_rptr,
1773 &mp1->b_rptr[econnp->conn_ixa->ixa_ip_hdr_length]);
1774 (void) conn_ip_output(mp1, econnp->conn_ixa);
1775 CONN_DEC_REF(econnp);
1777 SQUEUE_ENTER_ONE(econnp->conn_sqp, mp1, tcp_send_synack,
1778 econnp, NULL, SQ_PROCESS, SQTAG_TCP_SEND_SYNACK);
1786 SQUEUE_ENTER_ONE(econnp->conn_sqp, mp1, tcp_eager_kill,
1787 econnp, NULL, SQ_FILL, SQTAG_TCP_CONN_REQ_2);
1795 if ((econnp = ipcl_classify(mp, ira, ipst)) != NULL) {
1796 if (!IPCL_IS_CONNECTED(econnp)) {
1807 CONN_DEC_REF(econnp);
1810 SQUEUE_ENTER_ONE(econnp->conn_sqp, mp, tcp_input_data,
1811 econnp, ira, SQ_FILL, SQTAG_TCP_CONN_REQ_1);
1819 CONN_DEC_REF(econnp);