Lines Matching defs:econnp
986 conn_t *econnp = (conn_t *)arg;
987 tcp_t *eager = econnp->conn_tcp;
996 econnp->conn_rq = NULL;
997 econnp->conn_wq = NULL;
1004 if (econnp->conn_fanout != NULL && eager->tcp_state > TCPS_LISTEN) {
1021 CONN_DEC_REF(econnp);
1317 conn_t *econnp = NULL;
1457 econnp = (conn_t *)tcp_get_conn(arg2, tcps);
1458 if (econnp == NULL)
1461 ASSERT(econnp->conn_netstack == lconnp->conn_netstack);
1462 econnp->conn_sqp = new_sqp;
1463 econnp->conn_initial_sqp = new_sqp;
1464 econnp->conn_ixa->ixa_sqp = new_sqp;
1466 econnp->conn_fport = tcpha->tha_lport;
1467 econnp->conn_lport = tcpha->tha_fport;
1469 err = conn_inherit_parent(lconnp, econnp);
1474 econnp->conn_ixa->ixa_src_generation = ipst->ips_src_generation;
1482 tpi_mp = tcp_conn_create_v4(lconnp, econnp, mp, ira);
1484 tpi_mp = tcp_conn_create_v6(lconnp, econnp, mp, ira);
1490 eager = econnp->conn_tcp;
1500 ASSERT((econnp->conn_ixa->ixa_flags &
1507 econnp->conn_ixa->ixa_flags |= IXAF_NO_DEV_FLOW_CTL;
1513 if (!(ira->ira_flags & IRAF_IS_IPV4) && econnp->conn_bound_if == 0) {
1514 if (IN6_IS_ADDR_LINKSCOPE(&econnp->conn_faddr_v6) ||
1515 IN6_IS_ADDR_LINKSCOPE(&econnp->conn_laddr_v6)) {
1516 econnp->conn_incoming_ifindex = ifindex;
1517 econnp->conn_ixa->ixa_flags |= IXAF_SCOPEID_SET;
1518 econnp->conn_ixa->ixa_scopeid = ifindex;
1526 ip_pkt_t *ipp = &econnp->conn_xmit_ipp;
1551 econnp->conn_flags |= IPCL_NONSTR;
1565 * Now that the IP addresses and ports are setup in econnp we
1574 if (!ip_ipsec_policy_inherit(econnp, lconnp, ira)) {
1575 CONN_DEC_REF(econnp);
1590 ip_xmit_attr_t *ixa = econnp->conn_ixa;
1615 econnp, ts_label_t *, ixa->ixa_tsl)
1617 ixa->ixa_tsl = crgetlabel(econnp->conn_cred);
1619 econnp, ts_label_t *, ixa->ixa_tsl)
1642 TCP_BIND_HASH(econnp->conn_lport)], eager, 0);
1644 CL_INET_CONNECT(econnp, B_FALSE, err);
1683 (eager->tcp_rwnd == 0 ? econnp->conn_rcvbuf :
1698 ASSERT(econnp->conn_rcvbuf != 0 &&
1699 econnp->conn_rcvbuf == eager->tcp_rwnd);
1739 if (addr_cache != NULL && econnp->conn_faddr_v4 ==
1740 addr_cache[IP_ADDR_CACHE_HASH(econnp->conn_faddr_v4)]) {
1761 econnp->conn_ixa, void, NULL, tcp_t *, eager, void, NULL,
1771 CONN_INC_REF(econnp);
1801 CONN_INC_REF(econnp);
1809 if (ipcl_conn_insert(econnp) != 0)
1812 ASSERT(econnp->conn_ixa->ixa_notify_cookie == econnp->conn_tcp);
1818 if (econnp->conn_sqp == lconnp->conn_sqp) {
1820 econnp->conn_ixa, __dtrace_tcp_void_ip_t *, mp1->b_rptr,
1822 &mp1->b_rptr[econnp->conn_ixa->ixa_ip_hdr_length]);
1823 (void) conn_ip_output(mp1, econnp->conn_ixa);
1824 CONN_DEC_REF(econnp);
1826 SQUEUE_ENTER_ONE(econnp->conn_sqp, mp1, tcp_send_synack,
1827 econnp, NULL, SQ_PROCESS, SQTAG_TCP_SEND_SYNACK);
1835 SQUEUE_ENTER_ONE(econnp->conn_sqp, mp1, tcp_eager_kill,
1836 econnp, NULL, SQ_FILL, SQTAG_TCP_CONN_REQ_2);
1844 if ((econnp = ipcl_classify(mp, ira, ipst)) != NULL) {
1845 if (!IPCL_IS_CONNECTED(econnp)) {
1856 CONN_DEC_REF(econnp);
1859 SQUEUE_ENTER_ONE(econnp->conn_sqp, mp, tcp_input_data,
1860 econnp, ira, SQ_FILL, SQTAG_TCP_CONN_REQ_1);
1868 CONN_DEC_REF(econnp);