Revert "dhcpv6: add a minimum valid lifetime for IA_PD updates"
[project/odhcp6c.git] / src / ra.h
index c95c0194f3d65e86abe296b41cb4d0c873b86ae2..9acc8cd971a28a08859a400f454017ebce46b963 100644 (file)
--- a/src/ra.h
+++ b/src/ra.h
@@ -1,5 +1,6 @@
 /**
  * Copyright (C) 2012-2014 Steven Barth <steven@midlink.org>
+ * Copyright (C) 2018 Hans Dedecker <dedeckeh@gmail.com>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License v2 as published by
@@ -25,6 +26,15 @@ struct icmpv6_opt {
        uint8_t data[6];
 };
 
+struct icmpv6_opt_route_info {
+       uint8_t type;
+       uint8_t len;
+       uint8_t prefix_len;
+       uint8_t flags;
+       uint32_t lifetime;
+       uint8_t prefix[];
+};
+
 #define ND_OPT_ROUTE_INFORMATION 24