/**
- * Copyright (C) 2012-2013 Steven Barth <steven@midlink.org>
+ * 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
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
(void*)(opt + opt->len) <= (void*)(end); opt += opt->len)
-int ra_init(const char *ifname, const struct in6_addr *ifid);
+int ra_init(const char *ifname, const struct in6_addr *ifid,
+ unsigned int options, unsigned int holdoff_interval);
+bool ra_link_up(void);
bool ra_process(void);