Changeset 8a9a41e in mainline for uspace/lib/inet/include/inet/addr.h
- Timestamp:
- 2021-10-24T08:28:43Z (2 years ago)
- Children:
- f628215
- Parents:
- 2ce943a (diff), cd981f2a (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. - git-author:
- Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
- git-committer:
- GitHub <noreply@…> (2021-10-24 08:28:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/inet/include/inet/addr.h
r2ce943a r8a9a41e 1 1 /* 2 * Copyright (c) 20 13Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup lib c29 /** @addtogroup libinet 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef _LIBC_INET_ADDR_H_36 #define _LIBC_INET_ADDR_H_35 #ifndef LIBINET_INET_ADDR_H 36 #define LIBINET_INET_ADDR_H 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 typedef uint8_t addr48_t[6]; 43 43 44 typedef uint8_t addr128_t[16]; 44 45 … … 78 79 79 80 extern const addr32_t addr32_broadcast_all_hosts; 80 extern const addr48_t addr48_broadcast;81 81 82 extern void addr48(const addr48_t, addr48_t);83 82 extern void addr128(const addr128_t, addr128_t); 84 83 85 extern int addr48_compare(const addr48_t, const addr48_t);86 84 extern int addr128_compare(const addr128_t, const addr128_t); 87 88 extern void addr48_solicited_node(const addr128_t, addr48_t); 85 extern void eth_addr_solicited_node(const addr128_t, eth_addr_t *); 89 86 90 87 extern void host2addr128_t_be(const addr128_t, addr128_t);
Note:
See TracChangeset
for help on using the changeset viewer.