commit | ad6f939ab193750cc94a265f58e007fb598c97b7 | [log] [tgz] |
---|---|---|
author | Tom Herbert <therbert@google.com> | Mon Jan 05 13:56:17 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 05 22:44:46 2015 -0500 |
tree | f00a55adcedfde95441ed2ec498a2a294623522e | |
parent | 5961de9f199bef6ff437d7d85fe69b6a1964739b [diff] |
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>