Constant added to Linux 6.16. See the LWN article:
https://lwn.net/Articles/
1023085/
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
.. versionchanged:: 3.15
``IPV6_HDRINCL`` was added.
+ Added support for ``SO_PASSRIGHTS`` on Linux platforms when available.
.. data:: AF_CAN
--- /dev/null
+Add support for :data:`!socket.SO_PASSRIGHTS` on Linux.
#ifdef SO_BINDTODEVICE
ADD_INT_MACRO(m, SO_BINDTODEVICE);
#endif
+#ifdef SO_PASSRIGHTS
+ ADD_INT_MACRO(m, SO_PASSRIGHTS);
+#endif
#ifdef SO_BINDTOIFINDEX
ADD_INT_MACRO(m, SO_BINDTOIFINDEX);
#endif