rcvbuf.h File Reference

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

Detailed Description

Functions for allocating and freeing the receive buffer.

Author
Simon Brummer simon.nosp@m..bru.nosp@m.mmer@.nosp@m.post.nosp@m.eo.de

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
 Receive buffer entry. More...
 
struct  rcvbuf
 Stuct holding receive buffers. More...
 

Typedefs

typedef struct rcvbuf_entry rcvbuf_entry_t
 Receive buffer entry.
 
typedef struct rcvbuf rcvbuf_t
 Stuct holding receive buffers.
 

Functions

void _rcvbuf_init (void)
 Initializes global receive buffer.
 
int _rcvbuf_get_buffer (gnrc_tcp_tcb_t *tcb)
 Allocate receive buffer and assign it to TCB. More...
 
void _rcvbuf_release_buffer (gnrc_tcp_tcb_t *tcb)
 Release allocated receive buffer. More...