aboutsummaryrefslogtreecommitdiffstats
path: root/man/man2const/IPV6_MTU_DISCOVER.2const
blob: 59d10659d3c76e27a490db964a4fedf301c46798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.\" Copyright, the authors of the Linux man-pages project
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.TH IPV6_MTU_DISCOVER 2const (date) "Linux man-pages (unreleased)"
.SH NAME
IPV6_MTU_DISCOVER
\-
path maximum transfer unit size discovery
.SH LIBRARY
Standard C library
.RI ( libc ,\~ \-lc )
.SH SYNOPSIS
.nf
.BR "#include <netinet/in.h>" "  /* Definition of " IP* " constants */"
.B #include <sys/socket.h>
.P
.BI int\~setsockopt(int\~ sockfd ,\~IPPROTO_IPV6,\~IPV6_MTU_DISCOVER,
.BI "               const\~int\~*" val ,\~sizeof(int));
.BI int\~getsockopt(int\~ sockfd ,\~IPPROTO_IPV6,\~IPV6_MTU_DISCOVER,
.BI "               int\~*" val ,\~sizeof(int));
.fi
.SH DESCRIPTION
Set or receive the Path MTU Discovery setting for a socket.
.P
See
.BR IP_MTU_DISCOVER (2const).
.SH ERRORS
See
.BR IPPROTO_IPV6 (2const).
See
.BR setsockopt (2).
See
.BR ipv6 (7).
.SH SEE ALSO
.BR IPPROTO_IPV6 (2const),
.BR setsockopt (2),
.BR ipv6 (7)