chiark / gitweb /
core: add new RestrictAddressFamilies= switch
[elogind.git] / src / shared / socket-util.h
index d42a2fee318d05e6a5050fa0bf95986ce89a0cdd..84ebc302feac10c649d6515c2c04050f85ae4ac7 100644 (file)
@@ -27,6 +27,7 @@
 #include <net/if.h>
 #include <asm/types.h>
 #include <linux/netlink.h>
+#include <linux/if_packet.h>
 
 #include "macro.h"
 #include "util.h"
@@ -38,6 +39,7 @@ union sockaddr_union {
         struct sockaddr_un un;
         struct sockaddr_nl nl;
         struct sockaddr_storage storage;
+        struct sockaddr_ll ll;
 };
 
 typedef struct SocketAddress {