chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: add new RestrictAddressFamilies= switch
[elogind.git]
/
src
/
shared
/
socket-util.h
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 <net/if.h>
#include <asm/types.h>
#include <linux/netlink.h>
+#include <linux/if_packet.h>
#include "macro.h"
#include "util.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_un un;
struct sockaddr_nl nl;
struct sockaddr_storage storage;
+ struct sockaddr_ll ll;
};
typedef struct SocketAddress {
};
typedef struct SocketAddress {