summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2016-06-08 23:10:16 +0200
committerTom Gundersen <teg@jklm.no>2016-06-08 23:10:16 +0200
commitd9c11f2b01463e33a0b453e013786b5b79182dbe (patch)
treeabb611242bb5a77acefffe053b80840dfd7cd32d /src/network/networkd-network.h
parente80f080bffeab01390a086c802f7e47bd11fc369 (diff)
parent889b550f2dc27b7696781d3d9d91e8de28fd8fee (diff)
Merge pull request #3431 from poettering/network-fixes
put limits on addresses and routers per link and per network
Diffstat (limited to 'src/network/networkd-network.h')
-rw-r--r--src/network/networkd-network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h
index b54616b838..a49748d1b1 100644
--- a/src/network/networkd-network.h
+++ b/src/network/networkd-network.h
@@ -172,6 +172,10 @@ struct Network {
LIST_HEAD(Route, static_routes);
LIST_HEAD(FdbEntry, static_fdb_entries);
+ unsigned n_static_addresses;
+ unsigned n_static_routes;
+ unsigned n_static_fdb_entries;
+
Hashmap *addresses_by_section;
Hashmap *routes_by_section;
Hashmap *fdb_entries_by_section;