diff options
author | Wei Wang <weiwan@google.com> | 2018-07-31 17:46:20 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-01 09:56:10 -0700 |
commit | 984988aa72188453f8c8a42dcf94bba1c57e73aa (patch) | |
tree | 674478a2fd4f1001bff1ee8c2d6c220ae3d4498e /include/uapi/linux/tcp.h | |
parent | 53dd9652b5f530da2739298025c8324b6a4d0f21 (diff) | |
download | lwn-984988aa72188453f8c8a42dcf94bba1c57e73aa.tar.gz lwn-984988aa72188453f8c8a42dcf94bba1c57e73aa.zip |
tcp: add a helper to calculate size of opt_stats
This is to refactor the calculation of the size of opt_stats to a helper
function to make the code cleaner and easier for later changes.
Suggested-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/tcp.h')
0 files changed, 0 insertions, 0 deletions