From: Alejandro Colomar Date: Mon, 1 Dec 2025 23:23:51 +0000 (+0100) Subject: man/man2const/{IPPROTO_IPV6,IPV6_RECVERR}.2const: Split IPV6_RECVERR from IPPROTO_IPV... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25feab08766663ce994bb461e3227a318e4285db;p=thirdparty%2Fman-pages.git man/man2const/{IPPROTO_IPV6,IPV6_RECVERR}.2const: Split IPV6_RECVERR from IPPROTO_IPV6(2const) Signed-off-by: Alejandro Colomar --- diff --git a/man/man2const/IPPROTO_IPV6.2const b/man/man2const/IPPROTO_IPV6.2const index 797d989d3..62a6c5090 100644 --- a/man/man2const/IPPROTO_IPV6.2const +++ b/man/man2const/IPPROTO_IPV6.2const @@ -134,15 +134,8 @@ The following socket options are supported. .BR IPV6_FLOWINFO (2const) .TQ .BR IPV6_HOPLIMIT (2const) -.TP -.B IPV6_RECVERR -Control receiving of asynchronous error options. -See -.B IP_RECVERR -in -.BR ip (7) -for details. -Argument is a pointer to boolean. +.TQ +.BR IPV6_RECVERR (2const) .TP .B IPV6_ROUTER_ALERT Pass forwarded packets containing a router alert hop-by-hop option to diff --git a/man/man2const/IPV6_RECVERR.2const b/man/man2const/IPV6_RECVERR.2const new file mode 100644 index 000000000..aeb6d46bf --- /dev/null +++ b/man/man2const/IPV6_RECVERR.2const @@ -0,0 +1,44 @@ +.\" Copyright, the authors of the Linux man-pages project +.\" +.\" SPDX-License-Identifier: Linux-man-pages-copyleft +.\" +.TH IPV6_RECVERR 2const (date) "Linux man-pages (unreleased)" +.SH NAME +IPV6_RECVERR +\- +extended reliable error message passing +.SH LIBRARY +Standard C library +.RI ( libc ,\~ \-lc ) +.SH SYNOPSIS +.nf +.BR "#include " " /* Definition of " IP* " constants */" +.B #include +.P +.BI int\~setsockopt(int\~ sockfd ,\~IPPROTO_IPV6,\~IPV6_RECVERR, +.BI " const\~int\~*" enable ,\~sizeof(int)); +.BI int\~getsockopt(int\~ sockfd ,\~IPPROTO_IPV6,\~IPV6_RECVERR, +.BI " int\~*" enabled ,\~sizeof(int)); +.fi +.SH DESCRIPTION +.TP +.B IPV6_RECVERR +Control receiving of asynchronous error options. +See +.B IP_RECVERR +in +.BR ip (7) +for details. +Argument is a pointer to boolean. +.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 cmsg (3), +.BR ipv6 (7)