mirror of https://github.com/mkerrisk/man-pages
ipv6.7: Add description of getsockopt() for IPV6_MTU
In IPv4,IP_MTU is only supported by getsockopt. In IPv6, we can use IPV6_MTU to set socket's MTU, but the return value of getsockopt() is the path MTU. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
993d1ce33e
commit
032e1ba5c0
|
@ -80,7 +80,7 @@ structure.
|
|||
.\" commit c4062dfc425e94290ac427a98d6b4721dd2bc91f
|
||||
.\" Author: Erich E. Hoover <ehoover@mines.edu>
|
||||
.\"
|
||||
.TH IPV6 7 2012-11-07 "Linux" "Linux Programmer's Manual"
|
||||
.TH IPV6 7 2012-12-16 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
ipv6 \- Linux IPv6 protocol implementation
|
||||
.SH SYNOPSIS
|
||||
|
@ -215,6 +215,10 @@ Argument is a pointer to a
|
|||
.I struct ipv6_mreq
|
||||
.TP
|
||||
.B IPV6_MTU
|
||||
Retrieve the current known path MTU of the current socket.
|
||||
Only valid when the socket has been connected.
|
||||
Returns an integer.
|
||||
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue