summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2014-06-19 15:40:01 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2014-06-19 15:44:44 +0300
commit4138fb2c7936758da709eaed3f6b4f3df1d04eff (patch)
tree36af84b61f21cbbdceb4cab9e151cc29e9881a93 /src/network/networkd.h
parent947527f8326d3591f252c48fee5426a563f03544 (diff)
networkd: Add initial DHCPv6 support
Enable DHCPv6 support by creating a DHCPv6 boolean in the Network section. Add necessary DHCPv6 structures and initial function calls.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index 7069a11d4c..b7b1d903b2 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -29,6 +29,8 @@
#include "sd-dhcp-client.h"
#include "sd-dhcp-server.h"
#include "sd-ipv4ll.h"
+#include "sd-icmp6-nd.h"
+#include "sd-dhcp6-client.h"
#include "udev.h"
#include "rtnl-util.h"
@@ -159,6 +161,7 @@ struct Network {
bool dhcp_domainname;
bool dhcp_critical;
bool ipv4ll;
+ bool dhcp6;
bool dhcp_server;
@@ -263,6 +266,9 @@ struct Link {
LIST_HEAD(Address, pool_addresses);
sd_dhcp_server *dhcp_server;
+
+ sd_icmp6_nd *icmp6_router_discovery;
+ sd_dhcp6_client *dhcp6_client;
};
struct AddressPool {