about summary refs log tree commit diff
path: root/src/devices/nm-device.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-04-11 21:30:33 +0200
committerMichael Biebl <biebl@debian.org>2020-04-11 21:30:33 +0200
commitf914c41532a9e4f2bb44be074466b62e4cac8db3 (patch)
tree046e8e7a186afecf299cd80d62fa1c93903dbecf /src/devices/nm-device.h
parent19e73abd360f0198f94ce49f36ddf009056f6324 (diff)
parent1e5977b62f896e844b548c3007ace9e1dfa7f9ed (diff)
Update upstream source from tag 'upstream/1.23.90'
Update to upstream version '1.23.90'
with Debian dir 38c3873648b51c73a9e448ccb2ac18152c2b3f85
Diffstat (limited to 'src/devices/nm-device.h')
-rw-r--r--src/devices/nm-device.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/devices/nm-device.h b/src/devices/nm-device.h
index 8c6c856e..c18301b2 100644
--- a/src/devices/nm-device.h
+++ b/src/devices/nm-device.h
@@ -444,6 +444,8 @@ typedef struct _NMDeviceClass {
 
 	gboolean        (* can_update_from_platform_link) (NMDevice *self, const NMPlatformLink *plink);
 
+	gboolean        (* set_platform_mtu) (NMDevice *self, guint32 mtu);
+
 	/* Controls, whether to call act_stage2_config() callback also for assuming
 	 * a device or for external activations. In this case, act_stage2_config() must
 	 * take care not to touch the device's configuration. */
@@ -504,8 +506,7 @@ const char *    nm_device_get_initial_hw_address (NMDevice *dev);
 
 NMProxyConfig * nm_device_get_proxy_config      (NMDevice *dev);
 
-NMDhcp4Config * nm_device_get_dhcp4_config      (NMDevice *dev);
-NMDhcp6Config * nm_device_get_dhcp6_config      (NMDevice *dev);
+NMDhcpConfig *  nm_device_get_dhcp_config       (NMDevice *dev, int addr_family);
 NMIP4Config *   nm_device_get_ip4_config        (NMDevice *dev);
 void            nm_device_replace_vpn4_config   (NMDevice *dev,
                                                  NMIP4Config *old,
@@ -883,4 +884,6 @@ struct _NMBtVTableNetworkServer {
 const char *nm_device_state_to_str (NMDeviceState state);
 const char *nm_device_state_reason_to_str (NMDeviceStateReason reason);
 
+gboolean nm_device_is_vpn (NMDevice *self);
+
 #endif /* __NETWORKMANAGER_DEVICE_H__ */