RTEMS CPU Kit with SuperCore
Macros | Functions
in_cksum_m68k.h File Reference
#include <sys/param.h>
#include <sys/mbuf.h>
Include dependency graph for in_cksum_m68k.h:

Go to the source code of this file.

Macros

#define IS_COLDFIRE   0
 
#define REDUCE   { sum = (sum & 0xFFFF) + (sum >> 16); if (sum > 0xFFFF) sum -= 0xFFFF; }
 

Functions

int in_cksum (struct mbuf *m, int len)