OSDN Git Service

(split) LDP: Update original to LDP v3.41.
[linuxjm/LDP_man-pages.git] / original / man7 / ipv6.7
index 0050ecd..ce75541 100644 (file)
@@ -4,9 +4,9 @@
 .\" and in case of nontrivial modification author and date
 .\" of the modification is added to the header.
 .\" $Id: ipv6.7,v 1.3 2000/12/20 18:10:31 ak Exp $
-.TH IPV6 7 2011-09-08 "Linux" "Linux Programmer's Manual"
+.TH IPV6 7 2012-05-10 "Linux" "Linux Programmer's Manual"
 .SH NAME
-ipv6, AF_INET6 \- Linux IPv6 protocol implementation
+ipv6 \- Linux IPv6 protocol implementation
 .SH SYNOPSIS
 .B #include <sys/socket.h>
 .br
@@ -92,7 +92,7 @@ is the 128-bit IPv6 address.
 .I sin6_scope_id
 is an ID depending on the scope of the address.
 It is new in Linux 2.4.
-Linux only supports it for link scope addresses, in that case
+Linux only supports it for link-local addresses, in that case
 .I sin6_scope_id
 contains the interface index (see
 .BR netdevice (7))
@@ -267,6 +267,18 @@ The default value for this flag is defined by the contents of the file
 .IR /proc/sys/net/ipv6/bindv6only .
 The default value for that file is 0 (false).
 .\" FLOWLABEL_MGR, FLOWINFO_SEND
+.SH ERRORS
+.\" FIXME document all errors.
+.TP
+.B ENODEV
+The user tried to
+.BR bind (2)
+to a link-local IPv6 address, but the
+.I sin6_scope_id
+in the supplied
+.I sockaddr_in6
+structure is not a valid
+interface index.
 .SH VERSIONS
 The older
 .I libinet6