commit | 3c652996ffb6b04a5109e900cf308d378651cc1c | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | Wed Nov 01 23:42:16 2017 +0200 |
committer | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Wed Nov 08 16:19:57 2017 +0200 |
tree | bf58d7e8117ef91ae9e3b6fe5fda3a46b8fea91d | |
parent | bc88ad750b1adca3c9c8899e06b910c6924670af [diff] |
net: tcp: Add NET_TCP_HDR_LEN(hdr) macro for reuse Calculates full TCP header length (with options). Macro introduced for reuse, to avoid "magic formula". (E.g., it would be needed to parse TCP options). Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>