NetworkManager/src/ppp
Thomas Haller 57ab9fd60f core/dbus: rework creating numbered D-Bus export path by putting counter into class
I dislike the static hash table to cache the integer counter for
numbered paths. Let's instead cache the counter at the class instance
itself -- since the class contains the information how the export
path should be exported.

However, we cannot use a plain integer field inside the class structure,
because the class is copied between derived classes. For example,
NMDeviceEthernet and NMDeviceBridge both get a copy of the NMDeviceClass
instance. Hence, the class doesn't contain the counter directly, but
a pointer to one counter that can be shared between sibling classes.
2018-03-13 11:29:18 +01:00
..
meson.build core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-ppp-manager-call.c all: get rid of a handful of unused-but-set variables 2017-12-18 13:29:32 +01:00
nm-ppp-manager-call.h core: rework tracking of gateway/default-route in ip-config 2017-10-10 08:46:47 +02:00
nm-ppp-manager.c core/dbus: rework creating numbered D-Bus export path by putting counter into class 2018-03-13 11:29:18 +01:00
nm-ppp-manager.h ppp: introduce SetIfindex pppd plugin D-Bus method 2018-01-10 15:36:29 +01:00
nm-ppp-plugin-api.h core: rework tracking of gateway/default-route in ip-config 2017-10-10 08:46:47 +02:00
nm-ppp-plugin.ver ppp: split ppp manager into a plugin 2016-12-06 11:08:11 +01:00
nm-ppp-status.h ppp: split ppp manager into a plugin 2016-12-06 11:08:11 +01:00
nm-pppd-plugin.c ppp/plugin: use g_strlcpy() 2018-02-12 20:46:47 +01:00
nm-pppd-plugin.h build: rename "src/ppp-manager" to "src/ppp" 2016-11-21 14:07:47 +01:00