Lines Matching refs:aEndpoint

705 void Tcp::ProcessSignals(Endpoint             &aEndpoint,  in ProcessSignals()  argument
710 VerifyOrExit(IsInitialized(aEndpoint) && !aEndpoint.IsClosed()); in ProcessSignals()
711 if (aSignals.conn_established && aEndpoint.mEstablishedCallback != nullptr) in ProcessSignals()
713 aEndpoint.mEstablishedCallback(&aEndpoint); in ProcessSignals()
716 VerifyOrExit(IsInitialized(aEndpoint) && !aEndpoint.IsClosed()); in ProcessSignals()
717 if (aEndpoint.mSendDoneCallback != nullptr) in ProcessSignals()
727 VerifyOrExit(i == 0 || (IsInitialized(aEndpoint) && !aEndpoint.IsClosed())); in ProcessSignals()
730 aEndpoint.mSendDoneCallback(&aEndpoint, curr); in ProcessSignals()
735 VerifyOrExit(IsInitialized(aEndpoint) && !aEndpoint.IsClosed()); in ProcessSignals()
736 if (aEndpoint.mForwardProgressCallback != nullptr) in ProcessSignals()
738 size_t backlogBytes = aEndpoint.GetBacklogBytes(); in ProcessSignals()
742aEndpoint.mForwardProgressCallback(&aEndpoint, aEndpoint.GetSendBufferBytes(), backlogBytes); in ProcessSignals()
743 aEndpoint.mPendingCallbacks &= ~kForwardProgressCallbackFlag; in ProcessSignals()
747 VerifyOrExit(IsInitialized(aEndpoint) && !aEndpoint.IsClosed()); in ProcessSignals()
748 …if ((aSignals.recvbuf_added || aSignals.rcvd_fin) && aEndpoint.mReceiveAvailableCallback != nullpt… in ProcessSignals()
750aEndpoint.mReceiveAvailableCallback(&aEndpoint, cbuf_used_space(&aEndpoint.GetTcb().recvbuf), in ProcessSignals()
751 aEndpoint.GetTcb().reass_fin_index != -1, in ProcessSignals()
752 cbuf_free_space(&aEndpoint.GetTcb().recvbuf)); in ProcessSignals()
755 VerifyOrExit(IsInitialized(aEndpoint) && !aEndpoint.IsClosed()); in ProcessSignals()
756 if (aEndpoint.GetTcb().t_state == TCP6S_TIME_WAIT && aEndpoint.mDisconnectedCallback != nullptr) in ProcessSignals()
758 aEndpoint.mDisconnectedCallback(&aEndpoint, OT_TCP_DISCONNECTED_REASON_TIME_WAIT); in ProcessSignals()