.\" 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
.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))
.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