We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ND_NA_FLAG*
1 parent eb5c6d9 commit cf02471Copy full SHA for cf02471
options/posix/include/netinet/icmp6.h
@@ -189,9 +189,15 @@ struct nd_redirect {
189
#define nd_rd_code nd_rd_hdr.icmp6_code
190
#define nd_rd_cksum nd_rd_hdr.icmp6_cksum
191
192
+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
193
#define ND_NA_FLAG_OVERRIDE 0x00000020
194
#define ND_NA_FLAG_SOLICITED 0x00000040
195
#define ND_NA_FLAG_ROUTER 0x00000080
196
+#else
197
+#define ND_NA_FLAG_OVERRIDE 0x20000000
198
+#define ND_NA_FLAG_SOLICITED 0x40000000
199
+#define ND_NA_FLAG_ROUTER 0x80000000
200
+#endif
201
202
struct nd_opt_home_agent_info {
203
uint8_t nd_opt_home_agent_info_type;
0 commit comments