diff options
| author | 2014-05-02 16:29:18 -0700 | |
|---|---|---|
| committer | 2014-05-05 15:26:29 -0400 | |
| commit | 76ba0aae673075c77a8b775e9133c8e8b1a44563 (patch) | |
| tree | 503e545954aca2b7a2359bf38719acdaaae6707b /include/linux/flex_array.h | |
| parent | sparc: csum_add for Sparc (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/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
