option.h File Reference

TCP option handling declarations. More...

Detailed Description

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

Definition in file option.h.

#include <stdint.h>
#include "assert.h"
#include "net/tcp.h"
#include "net/gnrc/tcp/tcb.h"
+ Include dependency graph for option.h:

Go to the source code of this file.


static uint32_t _option_build_mss (uint16_t mss)
 Helper function to build the MSS option. More...
static uint16_t _option_build_offset_control (uint16_t nopts, uint16_t ctl)
 Helper function to build the combined option and control flag field. More...
int _option_parse (gnrc_tcp_tcb_t *tcb, tcp_hdr_t *hdr)
 Parses options of a given TCP header. More...