]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/dhcp-identifier.h
tree-wide: remove Emacs lines from all files
[thirdparty/systemd.git] / src / libsystemd-network / dhcp-identifier.h
index 7f44d2549938592045544a916cc552c5ce1a7ab0..93f06f5938bed5d4732d067d586596345e1645f9 100644 (file)
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
 #pragma once
 
 /***
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <net/ethernet.h>
+#include "sd-id128.h"
 
 #include "macro.h"
 #include "sparse-endian.h"
-#include "sd-id128.h"
+#include "unaligned.h"
 
 /* RFC 3315 section 9.1:
  *      A DUID can be no more than 128 octets long (not including the type code).
@@ -62,4 +60,4 @@ struct duid {
 } _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);
+int dhcp_identifier_set_iaid(int ifindex, uint8_t *mac, size_t mac_len, void *_id);