Debian Codegraph @

upstream/debian-unstable/man2/IPV6_RECVERR.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_RECVERR 2const 2025-12-02 "Linux man-pages 6.18"
6 .SH NAME
7 IPV6_RECVERR
8 \-
9 extended reliable error message passing
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_RECVERR,
19 .BI " const\~int\~*" enable ,\~sizeof(int));
20 .BI int\~getsockopt(int\~ sockfd ,\~IPPROTO_IPV6,\~IPV6_RECVERR,
21 .BI " int\~*" enabled ,\~sizeof(int));
22 .fi
23 .SH DESCRIPTION
24 Control receiving of asynchronous error options.
25 .P
26 See
27 .BR IP_RECVERR (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 IP_RECVERR (2const),
37 .BR IPPROTO_IPV6 (2const),
38 .BR setsockopt (2),
39 .BR cmsg (3),
40 .BR ipv6 (7)