mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[tcp] implement TCP Circular Send Buffer (#7867)
This commit is contained in:
Vendored
+1
@@ -55,6 +55,7 @@ void lbuf_append(struct lbufhead* buffer, otLinkedBuffer* newentry) {
|
||||
|
||||
void lbuf_extend(struct lbufhead* buffer, size_t numbytes) {
|
||||
buffer->tail->mLength += numbytes;
|
||||
buffer->length += numbytes;
|
||||
}
|
||||
|
||||
size_t lbuf_pop(struct lbufhead* buffer, size_t numbytes, uint32_t* ntraversed) {
|
||||
|
||||
Reference in New Issue
Block a user