Lines Matching defs:acceptor
55 sctp_accept_comm(sctp_t *listener, sctp_t *acceptor, mblk_t *cr_pkt,
71 aconnp = acceptor->sctp_connp;
79 /* acceptor isn't in any fanouts yet, so don't need to hold locks */
80 ASSERT(acceptor->sctp_faddrs == NULL);
81 err = sctp_get_addrparams(acceptor, listener, cr_pkt, ich,
86 if ((err = sctp_set_hdraddrs(acceptor)) != 0)
89 if ((err = sctp_build_hdrs(acceptor, KM_NOSLEEP)) != 0)
94 acceptor->sctp_prsctp_aware = B_TRUE;
96 acceptor->sctp_prsctp_aware = B_FALSE;
100 acceptor->sctp_ltsn = ntohl(iack->sic_inittsn);
101 acceptor->sctp_recovery_tsn = acceptor->sctp_lastack_rxd =
102 acceptor->sctp_ltsn - 1;
103 acceptor->sctp_adv_pap = acceptor->sctp_lastack_rxd;
105 acceptor->sctp_lcsn = acceptor->sctp_ltsn;
107 if (!sctp_initialize_params(acceptor, init, iack))
114 bcopy(listener->sctp_secret, acceptor->sctp_secret, SCTP_SECRET_LEN);
115 bcopy(listener->sctp_old_secret, acceptor->sctp_old_secret,
117 acceptor->sctp_last_secret_update = ddi_get_lbolt64();
120 * After acceptor is inserted in the hash list, it can be found.
123 RUN_SCTP(acceptor);
126 SCTP_CONN_HASH(sctps, aconnp->conn_ports)], acceptor, 0);
128 SCTP_BIND_HASH(ntohs(aconnp->conn_lport))], acceptor, 0);
130 SCTP_ASSOC_EST(sctps, acceptor);