Debian Codegraph @

upstream/debian-unstable/man3/sockaddr_in6.3type

raw
1 .\" Copyright, the authors of the Linux man-pages project
2 .\"
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
4 .\"
5 .TH sockaddr_in6 3type 2025-11-25 "Linux man-pages 6.18"
6 .SH NAME
7 sockaddr_in6,
8 in6_addr
9 \-
10 IPv6 socket address
11 .SH LIBRARY
12 Standard C library
13 .RI ( libc )
14 .SH SYNOPSIS
15 .EX
16 .B #include <netinet/in.h>
17 .P
18 .B struct sockaddr_in6 {
19 .BR " sa_family_t sin6_family;" " /* " AF_INET6 " */"
20 .BR " in_port_t sin6_port;" " /* Port number */"
21 .BR " uint32_t sin6_flowinfo;" " /* IPv6 flow info */"
22 .BR " struct in6_addr sin6_addr;" " /* IPv6 address */"
23 .BR " uint32_t sin6_scope_id;" " /* Set of interfaces for a scope */"
24 .B };
25 .P
26 .B struct in6_addr {
27 .B " uint8_t s6_addr[16];"
28 .B };
29 .EE
30 .SH DESCRIPTION
31 .TP
32 .I sockaddr_in6
33 Describes an IPv6 Internet domain socket address.
34 .TP
35 .I in6_addr
36 Contains a 128-bit IPv6 address,
37 stored in network byte order.
38 .SH STANDARDS
39 POSIX.1-2024.
40 .SH HISTORY
41 POSIX.1-2001.
42 .SH SEE ALSO
43 .BR sockaddr_in (3type),
44 .BR sockaddr (3type)