coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ip_checksum.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

unsigned long compute_ip_checksum (const void *addr, unsigned long length)
 
unsigned long add_ip_checksums (unsigned long offset, unsigned long sum, unsigned long new)
 

Function Documentation

◆ add_ip_checksums()

unsigned long add_ip_checksums ( unsigned long  offset,
unsigned long  sum,
unsigned long  new 
)

Definition at line 34 of file compute_ip_checksum.c.

References checksum(), and offset.

Referenced by prepare_mrc_cache(), and save_mrc_data().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_ip_checksum()

unsigned long compute_ip_checksum ( const void addr,
unsigned long  length 
)