diff options
author | Tom Herbert <therbert@google.com> | 2014-05-02 16:29:18 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-05 15:26:29 -0400 |
commit | 76ba0aae673075c77a8b775e9133c8e8b1a44563 (patch) | |
tree | 503e545954aca2b7a2359bf38719acdaaae6707b /net/ipv4/tcp_ipv4.c | |
parent | 20fce54fa74a55ad1e821b61612393d7159b6af8 (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 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions