Skip to content
Commit 3c652996 authored by Paul Sokolovsky's avatar Paul Sokolovsky Committed by Jukka Rissanen
Browse files

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: default avatarPaul Sokolovsky <paul.sokolovsky@linaro.org>
parent bc88ad75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment