| 1 | #ifndef NETINET_IN_H\r |
| 2 | #define NETINET_IN_H\r |
| 3 | \r |
| 4 | #include <inttypes.h>\r |
| 5 | #include <sys/un.h>\r |
| 6 | \r |
| 7 | struct in6_addr\r |
| 8 | {\r |
| 9 | uint8_t s6_addr[16];\r |
| 10 | };\r |
| 11 | \r |
| 12 | struct sockaddr_in6\r |
| 13 | {\r |
| 14 | sa_family_t sin6_family; /* AF_INET6 */\r |
| 15 | in_port_t sin6_port; /* Port number */\r |
| 16 | uint32_t sin6_flowinfo; /* IPv6 traffic class and flow information */\r |
| 17 | struct in6_addr sin6_addr; /* IPv6 address */\r |
| 18 | uint32_t sin6_scope_id; /* Set of interfaces for a scope */\r |
| 19 | };\r |
| 20 | \r |
| 21 | #endif /* NETINET_IN_H */\r |