4aa93ccd33
Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Cristian Magherusan-Stanciu <cristi.magherusan@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5666 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
8 lines
258 B
C
8 lines
258 B
C
#ifndef IP_CHECKSUM_H
|
|
#define IP_CHECKSUM_H
|
|
|
|
#ifndef __ROMCC__
|
|
unsigned long compute_ip_checksum(void *addr, unsigned long length);
|
|
unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned long new);
|
|
#endif
|
|
#endif /* IP_CHECKSUM_H */
|