NetworkManager/src/ppp-manager
Dan Williams 067db6f8d7 core/platform: add address/route sources (rh#1005416, bgo#722843)
Tag addresses and routes with their source.  We'll use this later to do
(or not do) operations based on where the item came from.

One thing to note is that when synchronizing items with the kernel, all
items are read as source=KERNEL even when they originally came from
NetworkManager, since the kernel has no way of providing this source
information.  This requires the source 'priority', which
nm_ip*_config_add_address() and nm_ip*_config_add_route() must respect
to ensure that NM-owned routes don't have their source overwritten
when merging various IP configs in ip*_config_merge_and_apply().

Also of note is that memcmp() can no longer be used to compare
addresses/routes in nm-platform.c, but this had problems before
anyway with ifindex, so that workaround from nm_platform_ip4_route_sync()
can be removed.

https://bugzilla.gnome.org/show_bug.cgi?id=722843
https://bugzilla.redhat.com/show_bug.cgi?id=1005416
2014-01-24 09:42:52 -06:00
..
Makefile.am build: switch from $(INCLUDES) to $(AM_CPPFLAGS) to make automake happy 2013-08-22 11:49:16 -04:00
nm-ppp-manager.c core/platform: add address/route sources (rh#1005416, bgo#722843) 2014-01-24 09:42:52 -06:00
nm-ppp-manager.h core: fix NM_IS_*_CLASS(klass) macros 2012-07-27 13:15:54 +02:00
nm-ppp-status.h Update license headers 2008-11-04 22:32:57 +00:00
nm-pppd-plugin.c coverity: fix various warnings detected with Coverity 2013-11-13 15:29:24 +01:00
nm-pppd-plugin.h ppp: don't require separate bus name for pppd plugin communication 2009-02-05 06:05:10 -05:00