Home
last modified time | relevance | path

Searched refs:aListener (Results 1 – 5 of 5) sorted by relevance

/external/openthread/src/core/api/
Dtcp_api.cpp123 otTcpListener * aListener, in otTcpListenerInitialize() argument
126 return AsCoreType(aListener).Initialize(AsCoreType(aInstance), *aArgs); in otTcpListenerInitialize()
129 otInstance *otTcpListenerGetInstance(otTcpListener *aListener) in otTcpListenerGetInstance() argument
131 return &AsCoreType(aListener).GetInstance(); in otTcpListenerGetInstance()
134 void *otTcpListenerGetContext(otTcpListener *aListener) in otTcpListenerGetContext() argument
136 return AsCoreType(aListener).GetContext(); in otTcpListenerGetContext()
139 otError otTcpListen(otTcpListener *aListener, const otSockAddr *aSockName) in otTcpListen() argument
141 return AsCoreType(aListener).Listen(AsCoreType(aSockName)); in otTcpListen()
144 otError otTcpStopListening(otTcpListener *aListener) in otTcpStopListening() argument
146 return AsCoreType(aListener).StopListening(); in otTcpStopListening()
[all …]
/external/openthread/include/openthread/
Dtcp.h627 typedef otTcpIncomingConnectionAction (*otTcpAcceptReady)(otTcpListener * aListener,
646 typedef void (*otTcpAcceptDone)(otTcpListener *aListener, otTcpEndpoint *aEndpoint, const otSockAdd…
713 otTcpListener * aListener,
725 otInstance *otTcpListenerGetInstance(otTcpListener *aListener);
736 void *otTcpListenerGetContext(otTcpListener *aListener);
749 otError otTcpListen(otTcpListener *aListener, const otSockAddr *aSockName);
760 otError otTcpStopListening(otTcpListener *aListener);
778 otError otTcpListenerDeinitialize(otTcpListener *aListener);
/external/openthread/src/cli/
Dcli_tcp.cpp358 otTcpIncomingConnectionAction TcpExample::HandleTcpAcceptReadyCallback(otTcpListener * aListener, in HandleTcpAcceptReadyCallback() argument
362 return static_cast<TcpExample *>(otTcpListenerGetContext(aListener)) in HandleTcpAcceptReadyCallback()
363 ->HandleTcpAcceptReady(aListener, aPeer, aAcceptInto); in HandleTcpAcceptReadyCallback()
366 void TcpExample::HandleTcpAcceptDoneCallback(otTcpListener * aListener, in HandleTcpAcceptDoneCallback() argument
370 …static_cast<TcpExample *>(otTcpListenerGetContext(aListener))->HandleTcpAcceptDone(aListener, aEnd… in HandleTcpAcceptDoneCallback()
483 otTcpIncomingConnectionAction TcpExample::HandleTcpAcceptReady(otTcpListener * aListener, in HandleTcpAcceptReady() argument
487 OT_UNUSED_VARIABLE(aListener); in HandleTcpAcceptReady()
502 void TcpExample::HandleTcpAcceptDone(otTcpListener *aListener, otTcpEndpoint *aEndpoint, const otSo… in HandleTcpAcceptDone() argument
504 OT_UNUSED_VARIABLE(aListener); in HandleTcpAcceptDone()
Dcli_tcp.hpp95 static otTcpIncomingConnectionAction HandleTcpAcceptReadyCallback(otTcpListener * aListener,
98 static void HandleTcpAcceptDoneCallback(otTcpListener * aListener,
109 otTcpIncomingConnectionAction HandleTcpAcceptReady(otTcpListener * aListener,
112 …void HandleTcpAcceptDone(otTcpListener *aListener, otTcpEndpoint *aEndpoint, const otSockAddr *aPe…
/external/openthread/src/core/net/
Dtcp6.hpp657 bool IsInitialized(const Listener &aListener) const { return mListeners.Contains(aListener); } in IsInitialized()