Programmable Gateways
Login
Overview
Power Industry
Serial Device Server
Programmable Gateways
Serial/Ethernet Gateway XNUT-100
CAN/Ethernet Gateway XNUT-105
Ethernet CPU Boards
Shop
Information and Support
Main Page
|
Modules
|
Data Structures
|
File List
|
Data Fields
|
Globals
|
Related Pages
|
Examples
include/netinet/ipcsum.h File Reference
Detailed Description
IP checksum definitions.
Functions
u_short
NutIpChkSumPartial
(
u_short
ics, CONST void *buf, size_t len)
Calculate a partial IP checksum of a buffer.
u_short
NutIpChkSum
(
u_short
ics, CONST void *buf, size_t len)
Calculates an the final IP checksum over a block of data.
u_long
NutIpPseudoChkSumPartial
(
u_long
src_addr,
u_long
dest_addr,
u_char
protocol,
u_short
len)
Calculates the partial IP pseudo checksum.