The friendly Operating System for the Internet of Things
rcvbuf.h File Reference

Functions for allocating and freeing the receive buffer. More...

Detailed Description

Simon Brummer

Definition in file rcvbuf.h.

#include <stdint.h>
#include "mutex.h"
#include "net/gnrc/tcp/config.h"
#include "net/gnrc/tcp/tcb.h"
+ Include dependency graph for rcvbuf.h:

Go to the source code of this file.

Data Structures

struct  rcvbuf_entry
 Struct for a single connections receive buffer. More...
struct  rcvbuf
 Stuct holding receive buffers. More...


typedef struct rcvbuf_entry rcvbuf_entry_t
 Struct for a single connections receive buffer.
typedef struct rcvbuf rcvbuf_t
 Stuct holding receive buffers.


void _rcvbuf_init (void)
 Initializes global receive Buffer.
int _rcvbuf_get_buffer (gnrc_tcp_tcb_t *tcb)
 Initializes and assigns receive Buffer to tcb. More...
void _rcvbuf_release_buffer (gnrc_tcp_tcb_t *tcb)
 Free allocated receive buffer. More...