hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/uapi/linux/icmpv6.h
....@@ -68,6 +68,7 @@
6868 #define icmp6_mtu icmp6_dataun.un_data32[0]
6969 #define icmp6_unused icmp6_dataun.un_data32[0]
7070 #define icmp6_maxdelay icmp6_dataun.un_data16[0]
71
+#define icmp6_datagram_len icmp6_dataun.un_data8[0]
7172 #define icmp6_router icmp6_dataun.u_nd_advt.router
7273 #define icmp6_solicited icmp6_dataun.u_nd_advt.solicited
7374 #define icmp6_override icmp6_dataun.u_nd_advt.override
....@@ -90,6 +91,8 @@
9091 #define ICMPV6_TIME_EXCEED 3
9192 #define ICMPV6_PARAMPROB 4
9293
94
+#define ICMPV6_ERRMSG_MAX 127
95
+
9396 #define ICMPV6_INFOMSG_MASK 0x80
9497
9598 #define ICMPV6_ECHO_REQUEST 128
....@@ -107,6 +110,10 @@
107110 #define ICMPV6_DHAAD_REPLY 145
108111 #define ICMPV6_MOBILE_PREFIX_SOL 146
109112 #define ICMPV6_MOBILE_PREFIX_ADV 147
113
+
114
+#define ICMPV6_MRDISC_ADV 151
115
+
116
+#define ICMPV6_MSG_MAX 255
110117
111118 /*
112119 * Codes for Destination Unreachable
....@@ -131,6 +138,7 @@
131138 #define ICMPV6_HDR_FIELD 0
132139 #define ICMPV6_UNK_NEXTHDR 1
133140 #define ICMPV6_UNK_OPTION 2
141
+#define ICMPV6_HDR_INCOMP 3
134142
135143 /*
136144 * constants for (set|get)sockopt