Home
last modified time | relevance | path

Searched refs:otLinkedBuffer (Results 1 – 19 of 19) sorted by relevance

/openthread-latest/third_party/tcplp/lib/
Dlbuf.h36 struct otLinkedBuffer;
41 struct otLinkedBuffer* head;
42 struct otLinkedBuffer* tail;
52 static inline struct otLinkedBuffer* lbuf_head(struct lbufhead* buffer) { in lbuf_head()
58 void lbuf_append(struct lbufhead* buffer, struct otLinkedBuffer* newentry);
82 struct otLinkedBuffer** first, size_t* firstoffset,
83 struct otLinkedBuffer** last, size_t* lastextra);
Dlbuf.c40 void lbuf_append(struct lbufhead* buffer, otLinkedBuffer* newentry) { in lbuf_append()
41 otLinkedBuffer* tail = buffer->tail; in lbuf_append()
62 otLinkedBuffer* curr = buffer->head; in lbuf_pop()
89 otLinkedBuffer** first, size_t* firstoffset, in lbuf_getrange()
90 otLinkedBuffer** last, size_t* lastextra) { in lbuf_getrange()
91 otLinkedBuffer* curr = buffer->head; in lbuf_getrange()
Dcbuf.h40 struct otLinkedBuffer;
92 …id cbuf_reference(const struct cbufhead* chdr, struct otLinkedBuffer* first, struct otLinkedBuffer
Dcbuf.c269 void cbuf_reference(const struct cbufhead* chdr, otLinkedBuffer* first, otLinkedBuffer* second) { in cbuf_reference()
/openthread-latest/include/openthread/
Dtcp.h60 typedef struct otLinkedBuffer struct
62 …struct otLinkedBuffer *mNext; ///< Pointer to the next linked buffer in the chain, or NULL if it… argument
65 } otLinkedBuffer; argument
90 typedef void (*otTcpSendDone)(otTcpEndpoint *aEndpoint, otLinkedBuffer *aData);
253 otLinkedBuffer mReceiveLinks[2];
436 otError otTcpSendByReference(otTcpEndpoint *aEndpoint, otLinkedBuffer *aBuffer, uint32_t aFlags);
468 otError otTcpReceiveByReference(otTcpEndpoint *aEndpoint, const otLinkedBuffer **aBuffer);
Dtcp_ext.h93 otLinkedBuffer mSendLinks[2];
/openthread-latest/src/cli/
Dcli_tcp.hpp99 static void HandleTcpSendDoneCallback(otTcpEndpoint *aEndpoint, otLinkedBuffer *aData);
114 void HandleTcpSendDone(otTcpEndpoint *aEndpoint, otLinkedBuffer *aData);
144 otLinkedBuffer mSendLink;
148 otLinkedBuffer
Dcli_tcp.cpp792 void TcpExample::HandleTcpSendDoneCallback(otTcpEndpoint *aEndpoint, otLinkedBuffer *aData) in HandleTcpSendDoneCallback()
845 void TcpExample::HandleTcpSendDone(otTcpEndpoint *aEndpoint, otLinkedBuffer *aData) in HandleTcpSendDone()
975 const otLinkedBuffer *data; in HandleTcpReceiveAvailable()
/openthread-latest/src/core/net/
Dtcp6.hpp216 Error SendByReference(otLinkedBuffer &aBuffer, uint32_t aFlags);
250 Error ReceiveByReference(const otLinkedBuffer *&aBuffer);
646 otLinkedBuffer *aPriorHead,
Dtcp6_ext.cpp109 otLinkedBuffer &dataSendLink = mSendLinks[linkIndex]; in Write()
144 otLinkedBuffer &wrappedDataSendLink = mSendLinks[1 - mFirstSendLinkIndex]; in Write()
Ddns_client.hpp830 static void HandleTcpSendDoneCallback(otTcpEndpoint *aEndpoint, otLinkedBuffer *aData);
838 void HandleTcpSendDone(otTcpEndpoint *aEndpoint, otLinkedBuffer *aData);
845 Error ReadFromLinkBuffer(const otLinkedBuffer *&aLinkedBuffer,
874 otLinkedBuffer mSendLink;
Dtcp6.cpp183 Error Tcp::Endpoint::SendByReference(otLinkedBuffer &aBuffer, uint32_t aFlags) in SendByReference()
238 Error Tcp::Endpoint::ReceiveByReference(const otLinkedBuffer *&aBuffer) in ReceiveByReference()
656 otLinkedBuffer *priorHead = lbuf_head(&tp->sendbuf); in HandleMessage()
693 otLinkedBuffer *aPriorHead, in ProcessSignals()
706 otLinkedBuffer *curr = aPriorHead; in ProcessSignals()
712 otLinkedBuffer *next = curr->mNext; in ProcessSignals()
Ddns_client.cpp1771 void Client::HandleTcpSendDone(otTcpEndpoint *aEndpoint, otLinkedBuffer *aData) in HandleTcpSendDone()
1781 void Client::HandleTcpSendDoneCallback(otTcpEndpoint *aEndpoint, otLinkedBuffer *aData) in HandleTcpSendDoneCallback()
1798 Error Client::ReadFromLinkBuffer(const otLinkedBuffer *&aLinkedBuffer, in ReadFromLinkBuffer()
1853 const otLinkedBuffer *data; in HandleTcpReceiveAvailable()
/openthread-latest/src/core/api/
Dtcp_api.cpp73 otError otTcpSendByReference(otTcpEndpoint *aEndpoint, otLinkedBuffer *aBuffer, uint32_t aFlags) in otTcpSendByReference()
83 otError otTcpReceiveByReference(otTcpEndpoint *aEndpoint, const otLinkedBuffer **aBuffer) in otTcpReceiveByReference()
Dtcp_ext_api.cpp112 const otLinkedBuffer *buffer; in otTcpMbedTlsSslRecvCallback()
/openthread-latest/third_party/tcplp/lib/test/
Dtest_all.c80 struct otLinkedBuffer first; in cbuf_test()
81 struct otLinkedBuffer second; in cbuf_test()
/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_usrreq.c254 int tcp_usr_send(struct tcpcb* tp, int moretocome, otLinkedBuffer* data, size_t extendby, struct so… in tcp_usr_send()
Dtcp_output.c984 otLinkedBuffer* start; in tcp_output()
986 otLinkedBuffer* end; in tcp_output()
988 otLinkedBuffer* curr; in tcp_output()
Dtcp_var.h397 int tcp_usr_send(struct tcpcb* tp, int moretocome, struct otLinkedBuffer* data, size_t extendby, st…