Changeset 918e9910 in mainline for uspace/srv/net/include/checksum.h


Ignore:
Timestamp:
2010-02-12T13:50:47Z (14 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
827d73f
Parents:
4be390b
Message:
  • zero IP checksum flip fix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/include/checksum.h

    r4be390b r918e9910  
    4141
    4242#include <sys/types.h>
     43
     44/** IP checksum value for computed zero checksum.
     45 *  Zero is returned as 0xFFFF (not flipped)
     46 */
     47#define IP_CHECKSUM_ZERO                        0xFFFFu
    4348
    4449/**     Computes CRC32 value.
Note: See TracChangeset for help on using the changeset viewer.