gnrc_tcp_rcvbuf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2017 Simon Brummer
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef GNRC_TCP_RCVBUF_H
21 #define GNRC_TCP_RCVBUF_H
22 
23 #include "net/gnrc/tcp/tcb.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
32 void _gnrc_tcp_rcvbuf_init(void);
33 
43 
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif /* GNRC_TCP_RCVBUF_H */
56 
_transmission_control_block
Transmission control block of GNRC TCP.
Definition: tcb.h:45
_gnrc_tcp_rcvbuf_release_buffer
void _gnrc_tcp_rcvbuf_release_buffer(gnrc_tcp_tcb_t *tcb)
Release allocated receive buffer.
_gnrc_tcp_rcvbuf_init
void _gnrc_tcp_rcvbuf_init(void)
Initializes global receive buffer.
_gnrc_tcp_rcvbuf_get_buffer
int _gnrc_tcp_rcvbuf_get_buffer(gnrc_tcp_tcb_t *tcb)
Allocate receive buffer and assign it to TCB.
tcb.h
GNRC TCP transmission control block (TCB)