summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-11-17 21:01:20 +0100
committerTom Gundersen <teg@jklm.no>2013-11-17 23:11:11 +0100
commit8cd11a0f0f4ca05199e1166f6a07472b296f7455 (patch)
treed9971380a1327d4bb7f392bb67d7c2c5d75f3184 /src/network/networkd.h
parent16be43684f6d9bbd494b157682f5473460fbf98a (diff)
networkd: store netmask and mac address explicitly
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index fd3b60a6cb..c019ceca76 100644
--- 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;