[systemd-devel] [PATCH v2 11/26] shared: Add struct sockaddr_ll to sockaddr_union

Patrik Flykt patrik.flykt at linux.intel.com
Sun Nov 24 23:13:27 PST 2013


---
v2: new patch, add sockaddr_ll to sockaddr_union

 src/shared/socket-util.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/shared/socket-util.h b/src/shared/socket-util.h
index d42a2fe..84ebc30 100644
--- a/src/shared/socket-util.h
+++ b/src/shared/socket-util.h
@@ -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 {
-- 
1.7.10.4



More information about the systemd-devel mailing list