Changeset 4c14b88 in mainline for uspace/lib/c/include/adt/checksum.h
- Timestamp:
- 2013-12-31T07:57:14Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b973dc
- Parents:
- 6297465 (diff), 208b5f5 (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 moved
-
uspace/lib/c/include/adt/checksum.h (moved) (moved from uspace/lib/c/include/net/device.h ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/adt/checksum.h
r6297465 r4c14b88 1 1 /* 2 * Copyright (c) 20 09 Lukas Mejdrech2 * Copyright (c) 2012 Dominik Taborsky 3 3 * All rights reserved. 4 4 * … … 30 30 * @{ 31 31 */ 32 33 32 /** @file 34 * Network device.35 33 */ 36 34 37 #ifndef LIBC_ NET_DEVICE_H_38 #define LIBC_ NET_DEVICE_H_35 #ifndef LIBC_CHECKSUM_H_ 36 #define LIBC_CHECKSUM_H_ 39 37 40 #include <adt/int_map.h> 41 #include <nic/nic.h> 38 #include <sys/types.h> 42 39 43 /** Device identifier to generic type map declaration. */ 44 #define DEVICE_MAP_DECLARE INT_MAP_DECLARE 45 46 /** Device identifier to generic type map implementation. */ 47 #define DEVICE_MAP_IMPLEMENT INT_MAP_IMPLEMENT 48 49 /** Device identifier type. */ 50 typedef int nic_device_id_t; 51 52 /** Invalid device identifier. */ 53 #define NIC_DEVICE_INVALID_ID (-1) 40 extern uint32_t compute_crc32(uint8_t *, size_t); 41 extern uint32_t compute_crc32_seed(uint8_t *, size_t, uint32_t); 54 42 55 43 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
