summaryrefslogtreecommitdiff
path: root/src/shared/socket-util.h
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2013-12-09 23:43:17 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-12 11:43:34 -0500
commite88bc7958c02305968f2d22dd4455b50fbf911f0 (patch)
tree605e42b27039dcc9f4b5735b34eb5d2c1d95c05b /src/shared/socket-util.h
parent39b7f5960044511b72b40853d1c6c64e5d618b1b (diff)
shared: Add struct sockaddr_ll to sockaddr_union
Diffstat (limited to 'src/shared/socket-util.h')
-rw-r--r--src/shared/socket-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/socket-util.h b/src/shared/socket-util.h
index d42a2fee31..84ebc302fe 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 {