1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/net/include/destiny
Cenk Gündoğan ecf47b1f48 destiny: using a bit field for tcp_header->data_offset is more convenient
In the current implementation the data offset is coded into an uint8_t.
Of this uint8_t only 3 bits apply for the data offset.
The remaining bits represent reserved flags for future use.
However, a proper bit masking is forgotten in order
to obtain the data offset part of this uint8_t.

Therefore, defining this uint8_t as a bit field allows a more convenient
method of access.
2014-06-09 19:37:37 +02:00
..
in.h Refactor net module to one include directory 2013-11-06 13:04:23 +01:00
socket.h Remove destiny header dependency from net_help 2014-02-08 00:31:02 +01:00
types.h destiny: using a bit field for tcp_header->data_offset is more convenient 2014-06-09 19:37:37 +02:00