chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39b7f59
)
shared: Add struct sockaddr_ll to sockaddr_union
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Mon, 9 Dec 2013 21:43:17 +0000
(23:43 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 12 Dec 2013 16:43:34 +0000
(11:43 -0500)
src/shared/socket-util.h
patch
|
blob
|
history
diff --git
a/src/shared/socket-util.h
b/src/shared/socket-util.h
index d42a2fee318d05e6a5050fa0bf95986ce89a0cdd..84ebc302feac10c649d6515c2c04050f85ae4ac7 100644
(file)
--- 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 {