diff options
author | Tom Gundersen <teg@jklm.no> | 2013-11-17 21:01:20 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2013-11-17 23:11:11 +0100 |
commit | 8cd11a0f0f4ca05199e1166f6a07472b296f7455 (patch) | |
tree | d9971380a1327d4bb7f392bb67d7c2c5d75f3184 /src/network/networkd.h | |
parent | 16be43684f6d9bbd494b157682f5473460fbf98a (diff) |
networkd: store netmask and mac address explicitly
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r-- | src/network/networkd.h | 3 |
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; |