diff options
author | Tom Herbert <therbert@google.com> | 2015-01-05 22:56:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-06 04:44:46 +0100 |
commit | 5961de9f199bef6ff437d7d85fe69b6a1964739b (patch) | |
tree | 153942fe128647a10b312beaf546ea791a0558b3 /net/ipv4/udp.c | |
parent | ip: IP cmsg cleanup (diff) | |
download | linux-5961de9f199bef6ff437d7d85fe69b6a1964739b.tar.xz linux-5961de9f199bef6ff437d7d85fe69b6a1964739b.zip |
ip: Add offset parameter to ip_cmsg_recv
Add ip_cmsg_recv_offset function which takes an offset argument
that indicates the starting offset in skb where data is being received
from. This will be useful in the case of UDP and provided checksum
to user space.
ip_cmsg_recv is an inline call to ip_cmsg_recv_offset with offset of
zero.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions