TCP option handling declarations. More...
TCP option handling declarations.
Definition in file gnrc_tcp_option.h.
Go to the source code of this file.
static uint32_t | _gnrc_tcp_option_build_mss (uint16_t mss) |
Helper function to build the MSS option. | |
static uint16_t | _gnrc_tcp_option_build_offset_control (uint16_t nopts, uint16_t ctl) |
Helper function to build the combined option and control flag field. | |
int | _gnrc_tcp_option_parse (gnrc_tcp_tcb_t *tcb, tcp_hdr_t *hdr) |
Parses options of a given TCP header. | |
|
inlinestatic |
Helper function to build the MSS option.
[in] | mss | MSS value that should be set. |
Definition at line 39 of file gnrc_tcp_option.h.
|
inlinestatic |
Helper function to build the combined option and control flag field.
[in] | nopts | Number of options. |
[in] | ctl | Control flag field. |
Definition at line 53 of file gnrc_tcp_option.h.
int _gnrc_tcp_option_parse | ( | gnrc_tcp_tcb_t * | tcb, |
tcp_hdr_t * | hdr | ||
) |
Parses options of a given TCP header.
[in,out] | tcb | TCB holding the connection information. |
[in] | hdr | TCP header to be parsed. |