Fix description of IPV6_ROUTER_ALERT option

This commit is contained in:
Michael Kerrisk 2007-10-14 19:40:21 +00:00
parent 49ec013ce2
commit f1e0c79833
1 changed files with 11 additions and 4 deletions

View File

@ -4,7 +4,7 @@
.\" 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 1999-06-29 "Linux" "Linux Programmer's Manual"
.TH IPV6 7 2007-10-14 "Linux" "Linux Programmer's Manual"
.SH NAME
ipv6, PF_INET6 \- Linux IPv6 protocol implementation
.SH SYNOPSIS
@ -233,10 +233,17 @@ for details.
Argument is a pointer to boolean.
.TP
.B IPV6_ROUTER_ALERT
Pass all forwarded packets containing a router alert option to
Pass forwarded packets containing a router alert hop-by-hop option to
this socket.
Only allowed for datagram sockets and for root.
Argument is a pointer to boolean.
Only allowed for SOCK_RAW 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.
.TP
.B IPV6_UNICAST_HOPS
Set the unicast hop limit for the socket.