Changeset 609243f4 in mainline for uspace/lib/net/generic/net_checksum.c
- Timestamp:
- 2011-10-07T15:46:01Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2c50e1
- Parents:
- f51b1d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/generic/net_checksum.c
rf51b1d3 r609243f4 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.