Debian Codegraph @

upstream/debian-unstable/man2/IPV6_MTU_DISCOVER.2const

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