diff options
author | Thomas Haller <thaller@redhat.com> | 2022-07-18 09:12:09 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-07-26 12:43:44 +0200 |
commit | bf248e04005cc08dd989c950f62d168fccca5ebe (patch) | |
tree | 78caf181e79150bbd4f305c916e12816e0f91968 /src/core/nm-netns.h | |
parent | e466ad62e5d77c5d02d0fa572583c8e93785022a (diff) |
platform: rename NMPRouteManager to NMPGlobalTracker
NetworkManager primarily manages interfaces in an independent fashion.
That means, whenever possible, we want to have a interface specific
view. In many cases, the underlying kernel API also supports that view.
For example, when configuring IP addresses or unicast routes, we do so
per interfaces and don't need a holistic view.
However, that is not always sufficient. For routing rules and certain
route types (blackhole, unreachable, etc), we need a system wide view
of all the objects in the network namespace.
Originally, NMPRulesManager was added to track routing rules. Then, it
was extended to also track certain route types, and the API was renamed to
NMPRouteManager.
This will also be used to track MPTCP addresses.
So rename again, to give it a general name that is suitable for what it
does. Still, the name is not great (suggestion welcome), but it should
cover the purpose of the API well enough. And it's the best I came
up with.
Rename.
Diffstat (limited to 'src/core/nm-netns.h')
-rw-r--r-- | src/core/nm-netns.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nm-netns.h b/src/core/nm-netns.h index deb1d1f006..17c1c63743 100644 --- a/src/core/nm-netns.h +++ b/src/core/nm-netns.h @@ -29,7 +29,7 @@ NMNetns *nm_netns_new(struct _NMPlatform *platform); struct _NMPlatform *nm_netns_get_platform(NMNetns *self); NMPNetns *nm_netns_get_platform_netns(NMNetns *self); -struct _NMPRouteManager *nm_netns_get_route_manager(NMNetns *self); +struct _NMPGlobalTracker *nm_netns_get_global_tracker(NMNetns *self); struct _NMDedupMultiIndex *nm_netns_get_multi_idx(NMNetns *self); |