Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
checksum_64.h File Reference

Go to the source code of this file.

Functions

__sum16 ip_compute_csum (const void *buff, int len)
 

Function Documentation

__sum16 ip_compute_csum ( const void buff,
int  len 
)

ip_compute_csum - Compute an 16bit IP checksum. : buffer address. : length of buffer.

Returns the 16bit folded/inverted checksum of the passed buffer. Ready to fill in.

Definition at line 181 of file checksum.c.