Changeset b4edc96 in mainline for uspace/lib/inet/include/inet/addr.h
- Timestamp:
- 2021-08-08T09:20:20Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3e6bca8
- Parents:
- d5ed54b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/inet/include/inet/addr.h
rd5ed54b rb4edc96 37 37 38 38 #include <errno.h> 39 #include <inet/eth_addr.h> 39 40 #include <stdint.h> 40 41 41 42 typedef uint32_t addr32_t; 42 43 #define ETH_ADDR_SIZE 644 45 typedef struct {46 uint8_t b[ETH_ADDR_SIZE];47 } addr48_t;48 43 49 44 typedef uint8_t addr128_t[16]; … … 84 79 85 80 extern const addr32_t addr32_broadcast_all_hosts; 86 extern const addr48_t addr48_broadcast;87 81 88 82 extern void addr128(const addr128_t, addr128_t); 89 83 90 extern int addr48_compare(const addr48_t *, const addr48_t *);91 84 extern int addr128_compare(const addr128_t, const addr128_t); 92 93 extern void addr48_solicited_node(const addr128_t, addr48_t *); 85 extern void eth_addr_solicited_node(const addr128_t, eth_addr_t *); 94 86 95 87 extern void host2addr128_t_be(const addr128_t, addr128_t);
Note:
See TracChangeset
for help on using the changeset viewer.