Functions for allocating and freeing the receive buffer. More...
Functions for allocating and freeing the receive buffer.
Definition in file gnrc_tcp_rcvbuf.h.
#include "net/gnrc/tcp/tcb.h"
Go to the source code of this file.
void | _gnrc_tcp_rcvbuf_init (void) |
Initializes global receive buffer. | |
int | _gnrc_tcp_rcvbuf_get_buffer (gnrc_tcp_tcb_t *tcb) |
Allocate receive buffer and assign it to TCB. | |
void | _gnrc_tcp_rcvbuf_release_buffer (gnrc_tcp_tcb_t *tcb) |
Release allocated receive buffer. | |
int _gnrc_tcp_rcvbuf_get_buffer | ( | gnrc_tcp_tcb_t * | tcb | ) |
Allocate receive buffer and assign it to TCB.
[in,out] | tcb | TCB that acquires receive buffer. |
void _gnrc_tcp_rcvbuf_release_buffer | ( | gnrc_tcp_tcb_t * | tcb | ) |
Release allocated receive buffer.
[in,out] | tcb | TCB holding the receive buffer that should be released. |