A version of LWIP, provided for backwards compatibility.

Dependents:   AA_DemoBoard DemoBoard HelloServerDemo DemoBoard_RangeIndicator ... more

Embed: (wiki syntax)

« Back to documentation index

inet6.c File Reference

inet6.c File Reference

Functions common to all TCP/IPv6 modules, such as the Internet checksum and the byte order functions. More...

Go to the source code of this file.

Functions

u16_t inet_chksum_pbuf (struct pbuf *p)
 Calculate a checksum over a chain of pbufs (without pseudo-header, much like inet_chksum only pbufs are used).

Detailed Description

Functions common to all TCP/IPv6 modules, such as the Internet checksum and the byte order functions.

Definition in file 0.2/lwIP/core/ipv6/inet6.c.


Function Documentation

u16_t inet_chksum_pbuf ( struct pbuf *  p )

Calculate a checksum over a chain of pbufs (without pseudo-header, much like inet_chksum only pbufs are used).

Parameters:
ppbuf chain over that the checksum should be calculated
Returns:
checksum (as u16_t) to be saved directly in the protocol header

Definition at line 142 of file 0.2/lwIP/core/ipv6/inet6.c.