non-linux: bits/in.h: Add more RFC options
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 15 Aug 2022 09:25:55 +0000 (11:25 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 15 Aug 2022 09:27:04 +0000 (11:27 +0200)
bits/in.h

index 076cce0..ad898cc 100644 (file)
--- a/bits/in.h
+++ b/bits/in.h
@@ -104,6 +104,16 @@ struct ip_opts
 #define IPV6_PATHMTU           61
 #define IPV6_DONTFRAG          62
 
+/* Advanced API (RFC3542) (2).  */
+#define IPV6_RECVTCLASS                66
+#define IPV6_TCLASS            67
+
+/* RFC5014.  */
+#define IPV6_ADDR_PREFERENCES  72
+
+/* RFC5082.  */
+#define IPV6_MINHOPCOUNT       73
+
 /* Obsolete synonyms for the above.  */
 #define IPV6_ADD_MEMBERSHIP    IPV6_JOIN_GROUP
 #define IPV6_DROP_MEMBERSHIP   IPV6_LEAVE_GROUP