chiark / gitweb /
everywhere: remove configurability of sysv runlevel to target mapping
[elogind.git] / src / libsystemd-network / dhcp-identifier.h
index af95f074efb9b5a11872ec5ee507c3b812ba7975..7f44d2549938592045544a916cc552c5ce1a7ab0 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <net/ethernet.h>
 
+#include "macro.h"
 #include "sparse-endian.h"
 #include "sd-id128.h"
 
@@ -59,3 +60,6 @@ struct duid {
                 } _packed_ raw;
         };
 } _packed_;
+
+int dhcp_identifier_set_duid_en(struct duid *duid, size_t *len);
+int dhcp_identifier_set_iaid(int ifindex, uint8_t *mac, size_t mac_len, uint32_t *_id);