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
machine
Macros
|
Functions
in_cksum.h File Reference
#include <sys/cdefs.h>
#include <
netinet/ip.h
>
Include dependency graph for in_cksum.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros
#define
in_cksum_update
(
ip
)
Functions
u_int
in_cksum_hdr
(const struct
ip
*)
Macro Definition Documentation
◆
in_cksum_update
#define in_cksum_update
(
ip
)
Value:
do
{ \
int __tmpsum; \
__tmpsum = (int)ntohs(
ip
->ip_sum) + 256; \
ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \
}
while
(0)
ip
Definition:
ip.h:61
Generated by
1.8.13