Lines Matching defs:acceptor
61 * Insert this socket into the acceptor hash.
389 * We had opened an acceptor STREAM for sockfs which is
951 * Swap information between the eager and acceptor for a TLI/XTI client.
952 * The sockfs accept is done on the acceptor stream and control goes
960 tcp_accept_swap(tcp_t *listener, tcp_t *acceptor, tcp_t *eager)
965 ASSERT(eager->tcp_detached && !acceptor->tcp_detached);
966 ASSERT(!TCP_IS_SOCKET(acceptor));
972 * different from the acceptor's label on MLP and MAC-Exempt
975 * acceptor stream refer to econnp we atomatically get that label.
978 acceptor->tcp_detached = B_TRUE;
981 * the acceptor id.
983 eager->tcp_acceptor_id = acceptor->tcp_acceptor_id;
995 aconnp = acceptor->tcp_connp;
1005 * clear, our TCP queues point to the acceptor's queues. Thus, use
1026 ASSERT(eager->tcp_tcps == acceptor->tcp_tcps);
1288 * on the acceptor STREAM and processed in tcp_accept_common().
1294 tcp_t *acceptor;
1318 * Once the acceptor/eager are modified (in tcp_accept_swap) the
1320 * This prevents any thread from entering the acceptor queue from
1324 * The CONN_INC_REF will prevent the acceptor from closing.
1366 * Get a reference on the acceptor just like the
1369 acceptor = listener;
1370 CONN_INC_REF(acceptor->tcp_connp);
1372 acceptor = tcp_acceptor_hash_lookup(acceptor_id, tcps);
1373 if (acceptor == NULL) {
1377 "tcp_accept: did not find acceptor 0x%x\n",
1385 * Verify acceptor state. The acceptable states for an acceptor
1388 switch (acceptor->tcp_state) {
1394 CONN_DEC_REF(acceptor->tcp_connp);
1403 CONN_DEC_REF(acceptor->tcp_connp);
1420 CONN_DEC_REF(acceptor->tcp_connp);
1429 * At this point, both acceptor and listener have 2 ref
1437 ASSERT(acceptor->tcp_connp->conn_ref >= 3);
1454 CONN_DEC_REF(acceptor->tcp_connp);
1464 CONN_DEC_REF(acceptor->tcp_connp);
1491 CONN_DEC_REF(acceptor->tcp_connp);
1541 tcp_accept_swap(listener, acceptor, eager);
1568 * in transfer logic from eager=>acceptor in tcp_accept_swap().
1569 * [ Warning: acceptor endpoint can have T_OPTMGMT_REQ done to it
1573 * the instantiated acceptor instance and the final queue at
1627 * acceptor streams are the same.
1629 ASSERT(listener != acceptor);
1638 * Done with the acceptor - free it
1641 * as listener can be equal to acceptor.
1644 ASSERT(acceptor->tcp_detached);
1645 acceptor->tcp_connp->conn_rq = NULL;
1646 ASSERT(!IPCL_IS_NONSTR(acceptor->tcp_connp));
1647 acceptor->tcp_connp->conn_wq = NULL;
1648 (void) tcp_clean_death(acceptor, 0);
1649 CONN_DEC_REF(acceptor->tcp_connp);
1663 * acceptor stream in between. This problem exists in on10-gate also
1669 * and then get behind the acceptor squeue to access the acceptor
1731 * rq->q_qinfo->qi_qclose to cleanup the acceptor stream.