Home
last modified time | relevance | path

Searched hist:"5961 de9f199bef6ff437d7d85fe69b6a1964739b" (Results 1 – 2 of 2) sorted by relevance

/linux/net/ipv4/
H A Dip_sockglue.cdiff 5961de9f199bef6ff437d7d85fe69b6a1964739b Mon Jan 05 22:56:16 CET 2015 Tom Herbert <therbert@google.com> 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>
/linux/include/net/
H A Dip.hdiff 5961de9f199bef6ff437d7d85fe69b6a1964739b Mon Jan 05 22:56:16 CET 2015 Tom Herbert <therbert@google.com> 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>