TCP option handling declarations. More...
TCP option handling declarations.
Definition in file gnrc_tcp_option.h.
Include dependency graph for 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. More... | |
| 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. More... | |
| int | _gnrc_tcp_option_parse (gnrc_tcp_tcb_t *tcb, tcp_hdr_t *hdr) |
| Parses options of a given TCP header. More... | |
|
inlinestatic |
Helper function to build the MSS option.
| [in] | mss | MSS value that should be set. |
Definition at line 38 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 52 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. |