summaryrefslogtreecommitdiff
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-05-02 16:29:18 -0700
committerDavid S. Miller <davem@davemloft.net>2014-05-05 15:26:29 -0400
commit76ba0aae673075c77a8b775e9133c8e8b1a44563 (patch)
tree503e545954aca2b7a2359bf38719acdaaae6707b /include/net/ip.h
parent20fce54fa74a55ad1e821b61612393d7159b6af8 (diff)
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 'include/net/ip.h')
0 files changed, 0 insertions, 0 deletions