Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1607967
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket. |
| Date | 2017-03-23 23:10 +0100 |
| Message-ID | <toj5D-ic-11@gated-at.bofh.it> (permalink) |
| References | <tnXou-1mG-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: "R. Parameswaran" <parameswaran.r7@gmail.com> Date: Wed, 22 Mar 2017 15:59:13 -0700 (PDT) > A new function, kernel_sock_ip_overhead(), is provided > to calculate the cumulative overhead imposed by the IP > Header and IP options, if any, on a socket's payload. > The new function returns an overhead of zero for sockets > that do not belong to the IPv4 or IPv6 address families. > > Signed-off-by: R. Parameswaran <rparames@brocade.com> Just use the IPv4/IPv6 header size for now, just like the VXLAN driver does. Thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket. "R. Parameswaran" <parameswaran.r7@gmail.com> - 2017-03-23 00:00 +0100
Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket. Tom Herbert <tom@herbertland.com> - 2017-03-23 00:10 +0100
Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket. David Miller <davem@davemloft.net> - 2017-03-23 23:10 +0100
Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket. "R. Parameswaran" <parameswaran.r7@gmail.com> - 2017-03-24 03:00 +0100
Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket. James Chapman <jchapman@katalix.com> - 2017-03-24 14:20 +0100
Re: [PATCH net-next v4 1/2] New kernel function to get IP overhead on a socket. kbuild test robot <lkp@intel.com> - 2017-03-24 02:10 +0100
csiph-web