@@ -1,3 +1,27 @@
+2014-03-01 Dan Luedtke <mail@danrl.de>
+
+ * inet/netinet/icmp6.h (ND_RA_FLAG_RTPREF_LOW): Define.
+ (ND_RA_FLAG_RTPREF_MEDIUM): Likewise.
+ (ND_RA_FLAG_RTPREF_HIGH): Likewise.
+ (ND_RA_FLAG_RTPREF_MASK): Likewise.
+ (ND_RA_FLAG_RTPREF_RSV): Likewise.
+ (ND_RA_FLAG_PROXY): Likewise.
+ (ND_RA_FLAG_HA): Likewise.
+ (ND_OPT_ROUTE_INFO): Likewise.
+ (ND_OPT_RDNSS): Likewise.
+ (ND_OPT_ADDRESS_REGISTRATION): Likewise.
+ (ND_OPT_RI_RTPREF_LOW): Likewise.
+ (ND_OPT_RI_RTPREF_MEDIUM): Likewise.
+ (ND_OPT_RI_RTPREF_HIGH): Likewise.
+ (ND_OPT_RI_RTPREF_MASK): Likewise.
+ (ND_OPT_RI_RTPREF_RSV): Likewise.
+ (ND_OPT_AR_STATUS_SUCCESS): Likewise.
+ (ND_OPT_AR_STATUS_DUPLICATE): Likewise.
+ (ND_OPT_AR_STATUS_CACHEFULL): Likewise.
+ (nd_opt_route_info): New structure.
+ (nd_opt_rdnss): Likewise.
+ (nd_opt_address_reg): Likewise.
+
2014-02-28 Ondřej Bílka <neleai@seznam.cz>
* benchtest/bench-strtok.c (simple_strtok): Delete.
@@ -135,6 +135,14 @@ struct nd_router_advert /* router advertisement */
#define ND_RA_FLAG_MANAGED 0x80
#define ND_RA_FLAG_OTHER 0x40
#define ND_RA_FLAG_HOME_AGENT 0x20
+/* For compatibility with BSD. */
+#define ND_RA_FLAG_HA ND_RA_FLAG_HOME_AGENT
+#define ND_RA_FLAG_RTPREF_LOW 0x18
+#define ND_RA_FLAG_RTPREF_MEDIUM 0x00
+#define ND_RA_FLAG_RTPREF_HIGH 0x08
+#define ND_RA_FLAG_RTPREF_MASK 0x18
+#define ND_RA_FLAG_RTPREF_RSV 0x10
+#define ND_RA_FLAG_PROXY 0x04
#define nd_ra_router_lifetime nd_ra_hdr.icmp6_data16[1]
struct nd_neighbor_solicit /* neighbor solicitation */
@@ -197,6 +205,9 @@ struct nd_opt_hdr /* Neighbor
discovery option header */
#define ND_OPT_MTU 5
#define ND_OPT_RTR_ADV_INTERVAL 7
#define ND_OPT_HOME_AGENT_INFO 8
+#define ND_OPT_ROUTE_INFO 24
+#define ND_OPT_RDNSS 25
+#define ND_OPT_ADDRESS_REGISTRATION 33
struct nd_opt_prefix_info /* prefix information */