summaryrefslogtreecommitdiff
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-05-02 23:29:18 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-05-05 19:26:29 (GMT)
commit76ba0aae673075c77a8b775e9133c8e8b1a44563 (patch)
tree503e545954aca2b7a2359bf38719acdaaae6707b /net/ipv4/udp.c
parent20fce54fa74a55ad1e821b61612393d7159b6af8 (diff)
downloadlinux-76ba0aae673075c77a8b775e9133c8e8b1a44563.tar.xz
net: Generalize checksum_init functions
Create a general __skb_checksum_validate function (actually a macro) to subsume the various checksum_init functions. This function can either init the checksum, or do the full validation (logically checksum_init+skb_check_complete)-- a flag specifies if full vaidation is performed. Also, there is a flag to the function to indicate that zero checksums are allowed (to support optional UDP checksums). Added several stub functions for calling __skb_checksum_validate. 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