Changes in uspace/lib/inet/include/inet/addr.h [edeee9f:ec7902d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/inet/include/inet/addr.h
redeee9f rec7902d 1 1 /* 2 * Copyright (c) 20 21Jiri Svoboda2 * Copyright (c) 2013 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup lib inet29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef LIBINET_INET_ADDR_H36 #define LIBINET_INET_ADDR_H35 #ifndef _LIBC_INET_ADDR_H_ 36 #define _LIBC_INET_ADDR_H_ 37 37 38 38 #include <errno.h> 39 #include <inet/eth_addr.h>40 39 #include <stdint.h> 41 40 42 41 typedef uint32_t addr32_t; 43 42 typedef uint8_t addr48_t[6]; 44 43 typedef uint8_t addr128_t[16]; 45 44 … … 79 78 80 79 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); 82 83 extern void addr128(const addr128_t, addr128_t); 83 84 85 extern int addr48_compare(const addr48_t, const addr48_t); 84 86 extern int addr128_compare(const addr128_t, const addr128_t); 85 extern void eth_addr_solicited_node(const addr128_t, eth_addr_t *); 87 88 extern void addr48_solicited_node(const addr128_t, addr48_t); 86 89 87 90 extern void host2addr128_t_be(const addr128_t, addr128_t);
Note:
See TracChangeset
for help on using the changeset viewer.