NetworkManager/src/devices
Thomas Haller e9a917d619 device: refactor how master device's set is_available()
Previously, master device types like bridge, bond, and team
would overwrite is_available() and check_connection_available()
and always return TRUE.

The device already expresses via nm_device_is_master() that it
is of a master kind. Refactor the code, so, instead of having these
device types overwrite is_available() and check_connection_available(),
let the parents implementation react on nm_device_is_master().

There is no change in behavior at all. Instead, the knowledge how to
treat a master device moves from the device implementation to the
parent class.
2017-06-22 13:26:53 +02:00
..
adsl device: don't use platform singleton getter in device subclasses 2017-04-18 15:49:14 +02:00
bluetooth bluetooth: assert against registering same device multiple times 2017-06-07 09:07:18 +02:00
team device: refactor how master device's set is_available() 2017-06-22 13:26:53 +02:00
tests platform/tests: use nm_platform_link_veth_add() to create veth pair in test 2017-05-27 23:16:56 +02:00
wifi device: don't set MTU of device unless explicitly configured 2017-06-13 15:05:30 +02:00
wwan ofono: clenaup NMModemOfono's disconnect() 2017-05-12 17:29:33 +02:00
nm-arping-manager.c devices/arping-manager: log the device context 2017-03-24 12:42:09 +01:00
nm-arping-manager.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-bond.c device: refactor how master device's set is_available() 2017-06-22 13:26:53 +02:00
nm-device-bond.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-bridge.c device: refactor how master device's set is_available() 2017-06-22 13:26:53 +02:00
nm-device-bridge.h bridge: move the Bluetooth NAP logic to bridge device 2017-06-01 11:57:42 +02:00
nm-device-dummy.c device: don't use platform singleton getter in device subclasses 2017-04-18 15:49:14 +02:00
nm-device-dummy.h core: add support for dummy devices 2017-02-22 21:05:04 +01:00
nm-device-ethernet-utils.c device: use NMSettings directly instead of NMConnectionProvider in subclasses 2016-05-24 12:35:58 +02:00
nm-device-ethernet-utils.h device: use NMSettings directly instead of NMConnectionProvider in subclasses 2016-05-24 12:35:58 +02:00
nm-device-ethernet.c device: minor cleanup of NMDeviceEthernet:get_link_speed() 2017-06-02 21:06:07 +02:00
nm-device-ethernet.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-factory.c all: change handling of connection.type for bluetooth NAP and in general 2017-06-07 09:07:17 +02:00
nm-device-factory.h device: hide nm_device_factory_get_supported_types() function 2017-06-07 09:07:17 +02:00
nm-device-generic.c device: don't use platform singleton getter in device subclasses 2017-04-18 15:49:14 +02:00
nm-device-generic.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-infiniband.c device: don't set MTU of device unless explicitly configured 2017-06-13 15:05:30 +02:00
nm-device-infiniband.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-ip-tunnel.c device: don't set MTU of device unless explicitly configured 2017-06-13 15:05:30 +02:00
nm-device-ip-tunnel.h device: move tracking of parent device from NMDeviceIPTunnel to NMDevice 2017-01-04 14:18:01 +01:00
nm-device-logging.h manager: add logging macro _NMLOG2() for logging device messages 2017-06-08 21:50:23 +02:00
nm-device-macsec.c device: don't use platform singleton getter in device subclasses 2017-04-18 15:49:14 +02:00
nm-device-macsec.h core,libnm: introduce NMDeviceMacsec 2017-01-16 17:37:14 +01:00
nm-device-macvlan.c device: don't use platform singleton getter in device subclasses 2017-04-18 15:49:14 +02:00
nm-device-macvlan.h device: move tracking of parent device from NMDeviceMacvlan to NMDevice 2017-01-04 14:18:01 +01:00
nm-device-private.h device: don't set MTU of device unless explicitly configured 2017-06-13 15:05:30 +02:00
nm-device-tun.c device: don't use platform singleton getter in device subclasses 2017-04-18 15:49:14 +02:00
nm-device-tun.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-veth.c device: remove unused private data for NMDeviceVeth 2017-05-27 23:16:56 +02:00
nm-device-veth.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-device-vlan.c device: don't set MTU of device unless explicitly configured 2017-06-13 15:05:30 +02:00
nm-device-vlan.h device: move tracking of parent device from NMDeviceVlan to NMDevice 2017-01-04 14:18:01 +01:00
nm-device-vxlan.c device: don't use platform singleton getter in device subclasses 2017-04-18 15:49:14 +02:00
nm-device-vxlan.h device: move tracking of parent device from NMDeviceVxlan to NMDevice 2017-01-04 14:18:01 +01:00
nm-device.c device: refactor how master device's set is_available() 2017-06-22 13:26:53 +02:00
nm-device.h device: handle default for unset ignore-carrier option depending on device 2017-06-22 13:26:53 +02:00
nm-lldp-listener.c all: fix typo 'entires' -> 'entries' 2017-05-05 19:14:19 +02:00
nm-lldp-listener.h core: refactor private data for NMExportedObject and others 2016-10-03 12:04:14 +02:00