Changes in uspace/lib/net/generic/net_checksum.c [ccca251:cf9cb36] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/generic/net_checksum.c
rccca251 rcf9cb36 40 40 41 41 /** Big-endian encoding CRC divider. */ 42 #define CRC_DIVIDER_BE 42 #define CRC_DIVIDER_BE 0x04c11db7 43 43 44 44 /** Little-endian encoding CRC divider. */ 45 #define CRC_DIVIDER_LE 45 #define CRC_DIVIDER_LE 0xedb88320 46 46 47 47 /** Compacts the computed checksum to the 16 bit number adding the carries. … … 203 203 } 204 204 205 /** Compute s the ipheader checksum.205 /** Compute the IP header checksum. 206 206 * 207 207 * To compute the checksum of a new packet, the checksum header field must be
Note:
See TracChangeset
for help on using the changeset viewer.