RTEMS CPU Kit with SuperCore
4.11.2
mnt
data0
chrisj
rtems
releases
rtems-release.git
4.11.2
ws-rtems
rtems-4.11.2
cpukit
libnetworking
netinet
Macros
|
Functions
in_cksum.c File Reference
#include <sys/param.h>
#include <
sys/mbuf.h
>
#include <stdio.h>
Include dependency graph for in_cksum.c:
Macros
#define
ADDCARRY
(x) (x > 65535L ? x -= 65535L : x)
#define
REDUCE
{l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
Functions
int
in_cksum
(struct
mbuf
*m, uint32_t len)
Generated by
1.8.13