Hi Michael, Le mercredi 04 mars 2015 à 08:49:09, Michael Kerrisk (man-pages) a écrit : > > On 4 March 2015 at 00:28, Stéphane Aulery <saulery@xxxxxxx> wrote: > > > > Pv6 header /usr/include/linux/in.h has an alternative at > > /usr/include/bits/in.h in specific condition (cf. > > /usr/include/bits/in.h). > > > > Is it good to mention it in ipv6.7 and how? > > Sorry -- I don't really understand what you mean. Could you say more? The constant SOL_IPV6 is defined in a file libc6: https://sourceware.org/git/?p=glibc.git;a=blob;f=bits/in.h;hb=HEAD The Debian version of this file contains the following warning: #ifndef _NETINET_IN_H # error "Never use <bits/in.h> directly; include <netinet/in.h> # instead." #endif /* If the application has already included linux/in6.h from a linux-based kernel then we will not define the IPv6 IPPROTO_* defines, in6_addr (nor the defines), sockaddr_in6, or ipv6_mreq. The ABI used by the linux-kernel and glibc match exactly. Neither the linux kernel nor glibc should break this ABI without coordination. */ #ifdef _UAPI_LINUX_IN6_H /* This is not quite the same API since the kernel always defines s6_addr16 and s6_addr32. This is not a violation of POSIX since POSIX says "at least the following member" and that holds true. */ # define __USE_KERNEL_IPV6_DEFS #endif It is like asking whether to add a note to ipv6.7, what you want to do. Regards, -- Stéphane Aulery -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html