Changes in uspace/lib/c/include/net/in6.h [e52b4b5:e4554d4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/net/in6.h
re52b4b5 re4554d4 43 43 44 44 /** INET6 string address maximum length. */ 45 #define INET6_ADDRSTRLEN (8 * 4 + 7 + 1) 45 #define INET6_ADDRSTRLEN (8 * 4 + 7 + 1) 46 47 /** Type definition of the INET6 address. 48 * @see in6_addr 49 */ 50 typedef struct in6_addr in6_addr_t; 51 52 /** Type definition of the INET6 socket address. 53 * @see sockaddr_in6 54 */ 55 typedef struct sockaddr_in6 sockaddr_in6_t; 46 56 47 57 /** INET6 address. */ 48 typedefstruct in6_addr {58 struct in6_addr { 49 59 /** 16 byte IPv6 address. */ 50 u int8_ts6_addr[16];51 } in6_addr_t;60 unsigned char s6_addr[16]; 61 }; 52 62 53 63 /** INET6 socket address. 54 64 * @see sockaddr 55 65 */ 56 typedefstruct sockaddr_in6 {66 struct sockaddr_in6 { 57 67 /** Address family. Should be AF_INET6. */ 58 68 uint16_t sin6_family; … … 65 75 /** Scope identifier. */ 66 76 uint32_t sin6_scope_id; 67 } sockaddr_in6_t; 68 69 extern const in6_addr_t in6addr_any; 77 }; 70 78 71 79 #endif
Note:
See TracChangeset
for help on using the changeset viewer.