]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/networkd-network.h
DHCP DUID, IAID configuration options
[thirdparty/systemd.git] / src / network / networkd-network.h
index 4a13e2b574e6e2caedd172e1718f7e6b72acd015..5400a8bc9d4a257f8ad6cf4fc0e0b1cb9d37f394 100644 (file)
@@ -24,6 +24,7 @@
 
 typedef struct Network Network;
 
+#include "dhcp-identifier.h"
 #include "networkd-address.h"
 #include "networkd-fdb.h"
 #include "networkd-netdev.h"
@@ -144,6 +145,13 @@ struct Network {
 
         struct ether_addr *mac;
         unsigned mtu;
+        uint32_t iaid;
+        /* Value of Type in [DUID] section */
+        DUIDType duid_type;
+        /* DUID type code - RFC 3315 */
+        uint16_t dhcp_duid_type;
+        size_t dhcp_duid_len;
+        uint8_t dhcp_duid[MAX_DUID_LEN];
 
         LLDPMode lldp_mode; /* LLDP reception */
         bool lldp_emit;     /* LLDP transmission */