diff options
author | Tom Herbert <therbert@google.com> | 2015-01-06 00:56:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-06 06:44:46 +0300 |
commit | 5961de9f199bef6ff437d7d85fe69b6a1964739b (patch) | |
tree | 153942fe128647a10b312beaf546ea791a0558b3 /include/net/inet_sock.h | |
parent | c44d13d6f341ca59f3d6646f2337d4d3c8a814a6 (diff) | |
download | linux-5961de9f199bef6ff437d7d85fe69b6a1964739b.tar.xz |
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 'include/net/inet_sock.h')
0 files changed, 0 insertions, 0 deletions