chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
networkd: store netmask and mac address explicitly
[elogind.git]
/
src
/
network
/
networkd.h
diff --git
a/src/network/networkd.h
b/src/network/networkd.h
index fd3b60a6cbf04a952f12f16f663b8b2e43317e1f..c019ceca76c115ac80b4d9d4c1dcb46625c1d04d 100644
(file)
--- a/
src/network/networkd.h
+++ b/
src/network/networkd.h
@@
-64,6
+64,8
@@
struct Address {
unsigned char prefixlen;
char *label;
+ struct in_addr netmask;
+
union {
struct in_addr in;
struct in6_addr in6;
@@
-89,6
+91,7
@@
struct Link {
Manager *manager;
int ifindex;
+ struct ether_addr mac;
unsigned flags;