IPV6_RECVERR(2const) IPV6_RECVERR(2const)

IPV6_RECVERR - extended reliable error message passing

Standard C library (libc-lc)

#include <netinet/in.h>  /* Definition of IP* constants */
#include <sys/socket.h>
int setsockopt(int sockfd, IPPROTO_IPV6, IPV6_RECVERR,
               const int *enable, sizeof(int));
int getsockopt(int sockfd, IPPROTO_IPV6, IPV6_RECVERR,
               int *enabled, sizeof(int));

Control receiving of asynchronous error options.

See IP_RECVERR(2const).

See IPPROTO_IPV6(2const). See setsockopt(2). See ipv6(7).

IP_RECVERR(2const), IPPROTO_IPV6(2const), setsockopt(2), cmsg(3), ipv6(7)

2025-12-02 Linux man-pages 6.17