10 Dec
2015
10 Dec
'15
8:51 a.m.
On Wed, Dec 09, 2015 at 01:26:41PM -0500, Jaroslav Skarvada wrote:
I think correct portable implementation should use macros and bitmasks, maybe something to consider for future updates
IP headers and TCP headers are always defined as bit filds, look at the netinet/ip.h and netinet/tcp.h. We're in the best of traditions here ;) -- - Harald Welte <laforge@gnumonks.org> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)