suse man page for skb_checksum_complete

Query: skb_checksum_complete

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SKB_CHECKSUM_COMPLET(9) 					 Linux Networking					   SKB_CHECKSUM_COMPLET(9)

NAME
skb_checksum_complete - Calculate checksum of an entire packet
SYNOPSIS
__sum16 skb_checksum_complete(struct sk_buff * skb);
ARGUMENTS
skb packet to process
DESCRIPTION
This function calculates the checksum over the entire packet plus the value of skb->csum. The latter can be used to supply the checksum of a pseudo header as used by TCP/UDP. It returns the checksum. For protocols that contain complete checksums such as ICMP/TCP/UDP, this function can be used to verify that checksum on received packets. In that case the function should return zero if the checksum is correct. In particular, this function will return zero if skb->ip_summed is CHECKSUM_UNNECESSARY which indicates that the hardware has already verified the correctness of the checksum.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SKB_CHECKSUM_COMPLET(9)
Related Man Pages
net_isvalidchecksum(9f) - opensolaris
net_ispartialchecksum(9f) - opensolaris
loop(4) - debian
loop(4) - freebsd
lo(4) - x11r4
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Change directory error
Update kernel Linux without reboot?!
A (ksh) Library For and From UNIX.com
The Future of the PM (Private Message) System at UNIX.com