#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:57+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages/man7/ipv6.7:86 #, no-wrap msgid "IPV6" msgstr "" #. type: TH #: man-pages/man7/ipv6.7:86 #, no-wrap msgid "2012-12-16" msgstr "" #. type: TH #: man-pages/man7/ipv6.7:86 #, no-wrap msgid "Linux" msgstr "" #. type: TH #: man-pages/man7/ipv6.7:86 #, no-wrap msgid "Linux Programmer's Manual" msgstr "" #. type: SH #: man-pages/man7/ipv6.7:87 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:89 msgid "ipv6 - Linux IPv6 protocol implementation" msgstr "" #. type: SH #: man-pages/man7/ipv6.7:89 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:91 msgid "B<#include Esys/socket.hE>" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:93 msgid "B<#include Enetinet/in.hE>" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:95 msgid "IB< = socket(AF_INET6, SOCK_STREAM, 0);>" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:97 msgid "IB< = socket(AF_INET6, SOCK_RAW, >IB<);>" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:99 msgid "IB< = socket(AF_INET6, SOCK_DGRAM, >IB<);>" msgstr "" #. type: SH #: man-pages/man7/ipv6.7:99 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:106 msgid "" "Linux 2.2 optionally implements the Internet Protocol, version 6. This man " "page contains a description of the IPv6 basic API as implemented by the " "Linux kernel and glibc 2.1. The interface is based on the BSD sockets " "interface; see B(7)." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:111 msgid "" "The IPv6 API aims to be mostly compatible with the IPv4 API (see B(7)). " "Only differences are described in this man page." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:123 msgid "" "To bind an B socket to any process, the local address should be " "copied from the I variable which has I type. In " "static initializations, B may also be used, which expands " "to a constant expression. Both of them are in network byte order." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:130 msgid "" "The IPv6 loopback address (::1) is available in the global " "I variable. For initializations, B " "should be used." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:137 msgid "" "IPv4 connections can be handled with the v6 API by using the v4-mapped-on-v6 " "address type; thus a program only needs to support this API type to support " "both protocols. This is handled transparently by the address handling " "functions in the C library." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:142 msgid "" "IPv4 and IPv6 share the local port space. When you get an IPv4 connection " "or packet to a IPv6 socket, its source address will be mapped to v6 and it " "will be mapped to v6." msgstr "" #. type: SS #: man-pages/man7/ipv6.7:142 #, no-wrap msgid "Address format" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:152 #, no-wrap msgid "" "struct sockaddr_in6 {\n" " sa_family_t sin6_family; /* AF_INET6 */\n" " in_port_t sin6_port; /* port number */\n" " uint32_t sin6_flowinfo; /* IPv6 flow information */\n" " struct in6_addr sin6_addr; /* IPv6 address */\n" " uint32_t sin6_scope_id; /* Scope ID (new in 2.4) */\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:156 #, no-wrap msgid "" "struct in6_addr {\n" " unsigned char s6_addr[16]; /* IPv6 address */\n" "};\n" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:178 msgid "" "I is always set to B; I is the protocol " "port (see I in B(7)); I is the IPv6 flow " "identifier; I is the 128-bit IPv6 address. I is " "an ID depending on the scope of the address. It is new in Linux 2.4. Linux " "supports it only for link-local addresses, in that case I " "contains the interface index (see B(7))" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:184 msgid "" "IPv6 supports several address types: unicast to address a single host, " "multicast to address a group of hosts, anycast to address the nearest member " "of a group of hosts (not implemented in Linux), IPv4-on-IPv6 to address a " "IPv4 host, and other reserved address types." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:190 msgid "" "The address notation for IPv6 is a group of 8 4-digit hexadecimal numbers, " "separated with a \\(aq:\\(aq. \\&\"::\" stands for a string of 0 bits. " "Special addresses are ::1 for loopback and ::FFFF:EIPv4 addressE for " "IPv4-mapped-on-IPv6." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:192 msgid "The port space of IPv6 is shared with IPv4." msgstr "" #. type: SS #: man-pages/man7/ipv6.7:192 #, no-wrap msgid "Socket options" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:200 msgid "" "IPv6 supports some protocol-specific socket options that can be set with " "B(2) and read with B(2). The socket option level " "for IPv6 is B. A boolean integer flag is zero when it is " "false, otherwise true." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:200 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:214 msgid "" "Turn an B socket into a socket of a different address family. " "Only B is currently supported for that. It is allowed only for " "IPv6 sockets that are connected and bound to a v4-mapped-on-v6 address. The " "argument is a pointer to an integer containing B. This is useful " "to pass v4-mapped sockets as file descriptors to programs that don't know " "how to deal with the IPv6 API." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:214 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:219 msgid "" "Control membership in multicast groups. Argument is a pointer to a I." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:219 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:225 msgid "" "B(): Retrieve the current known path MTU of the current socket. " "Only valid when the socket has been connected. Returns an integer." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:231 msgid "" "B(): Set the MTU to be used for the socket. The MTU is limited " "by the device MTU or the path MTU when path MTU discovery is enabled. " "Argument is a pointer to integer." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:231 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:239 msgid "" "Control path-MTU discovery on the socket. See B in " "B(7) for details." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:239 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:246 msgid "" "Set the multicast hop limit for the socket. Argument is a pointer to an " "integer. -1 in the value means use the route default, otherwise it should " "be between 0 and 255." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:246 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:257 msgid "" "Set the device for outgoing multicast packets on the socket. This is " "allowed only for B and B socket. The argument is a " "pointer to an interface index (see B(7)) in an integer." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:257 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:261 msgid "" "Control whether the socket sees multicast packets that it has send itself. " "Argument is a pointer to boolean." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:261 #, no-wrap msgid "B (since Linux 2.6.14)" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:275 msgid "" "Set delivery of the B control message on incoming datagrams. " "Such control messages contain a I, as per RFC 3542. " "Only allowed for B or B sockets. Argument is a " "pointer to a boolean value in an integer." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:278 msgid "" "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:303 msgid "" "Set delivery of control messages for incoming datagrams containing extension " "headers from the received packet. B delivers the routing " "header, B delivers the authentication header, B " "delivers the destination options, B delivers the hop options, " "B delivers an integer containing the flow ID, " "B delivers an integer containing the hop count of the packet. " " The control messages have the same type as the socket option. All these " "header options can also be set for outgoing packets by putting the " "appropriate control message into the control buffer of B(2). Only " "allowed for B or B sockets. Argument is a pointer to " "a boolean value." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:303 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:312 msgid "" "Control receiving of asynchronous error options. See B in " "B(7) for details. Argument is a pointer to boolean." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:312 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:327 msgid "" "Pass forwarded packets containing a router alert hop-by-hop option to this " "socket. Only allowed for B sockets. The tapped packets are not " "forwarded by the kernel, it is the user's responsibility to send them out " "again. Argument is a pointer to an integer. A positive integer indicates a " "router alert option value to intercept. Packets carrying a router alert " "option with a value field containing this integer will be delivered to the " "socket. A negative integer disables delivery of packets with router alert " "options to this socket." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:327 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:333 msgid "" "Set the unicast hop limit for the socket. Argument is a pointer to an " "integer. -1 in the value means use the route default, otherwise it should " "be between 0 and 255." msgstr "" #. type: TP #: man-pages/man7/ipv6.7:333 #, no-wrap msgid "B (since Linux 2.4.21 and 2.6)" msgstr "" #. See RFC 3493 #. type: Plain text #: man-pages/man7/ipv6.7:340 msgid "" "If this flag is set to true (nonzero), then the socket is restricted to " "sending and receiving IPv6 packets only. In this case, an IPv4 and an IPv6 " "application can bind to a single port at the same time." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:344 msgid "" "If this flag is set to false (zero), then the socket can be used to send and " "receive packets to and from an IPv6 address or an IPv4-mapped IPv6 address." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:346 msgid "The argument is a pointer to a boolean value in an integer." msgstr "" #. FLOWLABEL_MGR, FLOWINFO_SEND #. type: Plain text #: man-pages/man7/ipv6.7:351 msgid "" "The default value for this flag is defined by the contents of the file I. The default value for that file is 0 (false)." "" msgstr "" #. type: SH #: man-pages/man7/ipv6.7:351 #, no-wrap msgid "ERRORS" msgstr "" #. type: TP #: man-pages/man7/ipv6.7:353 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:363 msgid "" "The user tried to B(2) to a link-local IPv6 address, but the " "I in the supplied I structure is not a valid " "interface index." msgstr "" #. type: SH #: man-pages/man7/ipv6.7:363 #, no-wrap msgid "VERSIONS" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:368 msgid "" "The older I libc5 based IPv6 API implementation for Linux is not " "described here and may vary in details." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:384 msgid "" "Linux 2.4 will break binary compatibility for the I for 64-bit " "hosts by changing the alignment of I and adding an additional " "I field. The kernel interfaces stay compatible, but a " "program including I or I into other structures may " "not be. This is not a problem for 32-bit hosts like i386." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:392 msgid "" "The I field is new in Linux 2.4. It is transparently passed/" "read by the kernel when the passed address length contains it. Some " "programs that pass a longer address buffer and then check the outgoing " "address length may break." msgstr "" #. type: SH #: man-pages/man7/ipv6.7:392 #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:402 msgid "" "The I structure is bigger than the generic I. " "Programs that assume that all address types can be stored safely in a " "I need to be changed to use I for " "that instead." msgstr "" #. type: SH #: man-pages/man7/ipv6.7:402 #, no-wrap msgid "BUGS" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:407 msgid "" "The IPv6 extended API as in RFC\\ 2292 is currently only partly implemented; " "although the 2.2 kernel has near complete support for receiving options, the " "macros for generating IPv6 options are missing in glibc 2.1." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:409 msgid "IPSec support for EH and AH headers is missing." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:411 msgid "Flow label management is not complete and not documented here." msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:413 msgid "This man page is not complete." msgstr "" #. type: SH #: man-pages/man7/ipv6.7:413 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:416 msgid "B(3), B(7)" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:420 msgid "" "RFC\\ 2553: IPv6 BASIC API; Linux tries to be compliant to this. RFC\\ 2460:" " IPv6 specification." msgstr "" #. type: SH #: man-pages/man7/ipv6.7:420 #, no-wrap msgid "COLOPHON" msgstr "" #. type: Plain text #: man-pages/man7/ipv6.7:428 msgid "" "This page is part of release 3.70 of the Linux I project. A " "description of the project, information about reporting bugs, and the latest " "version of this page, can be found at \\%http://www.kernel.org/doc/man-pages/" "." msgstr ""