Changeset 00aece0 in mainline for uspace/lib/net/generic/net_checksum.c
- Timestamp:
- 2012-02-18T16:47:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4449c6c
- Parents:
- bd5f3b7 (diff), f943dd3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/lib/net/generic/net_checksum.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/generic/net_checksum.c
rbd5f3b7 r00aece0 40 40 41 41 /** Big-endian encoding CRC divider. */ 42 #define CRC_DIVIDER_BE 0x04c11db742 #define CRC_DIVIDER_BE 0x04c11db7 43 43 44 44 /** Little-endian encoding CRC divider. */ 45 #define CRC_DIVIDER_LE 0xedb8832045 #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.
