diff options
author | Ben Chan <benchan@chromium.org> | 2014-03-25 00:18:32 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-03-25 17:10:13 +0100 |
commit | e4db8c5302e61b84d796e9a84f57fa51cfce2577 (patch) | |
tree | 336ab8630466fbf7884de5406650f3b5192f54a4 /libmm-glib/mm-bearer-ip-config.h | |
parent | 4de728447a1b5825e5a9bd29cc54f196540fb6c1 (diff) |
api: add MTU to bearer IP config properties
This patch adds a 'mtu' value to the Ip4Config and Ip6Config property of
a Bearer object, which indicates the value of the maximum transmission
unit for the established connection when such information is available
(e.g. via QMI_WDS_GET_RUNTIME_SETTINGS on a QMI modem or
MBIM_CID_IP_CONFIGURATION on a MBIM modem).
Diffstat (limited to 'libmm-glib/mm-bearer-ip-config.h')
-rw-r--r-- | libmm-glib/mm-bearer-ip-config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmm-glib/mm-bearer-ip-config.h b/libmm-glib/mm-bearer-ip-config.h index bfd2ea73..898a405d 100644 --- a/libmm-glib/mm-bearer-ip-config.h +++ b/libmm-glib/mm-bearer-ip-config.h @@ -60,6 +60,7 @@ const gchar *mm_bearer_ip_config_get_address (MMBearerIpConfig *self); guint mm_bearer_ip_config_get_prefix (MMBearerIpConfig *self); const gchar **mm_bearer_ip_config_get_dns (MMBearerIpConfig *self); const gchar *mm_bearer_ip_config_get_gateway (MMBearerIpConfig *self); +guint mm_bearer_ip_config_get_mtu (MMBearerIpConfig *self); /*****************************************************************************/ /* ModemManager/libmm-glib/mmcli specific methods */ @@ -84,6 +85,8 @@ void mm_bearer_ip_config_set_dns (MMBearerIpConfig *self, const gchar **dns); void mm_bearer_ip_config_set_gateway (MMBearerIpConfig *self, const gchar *gateway); +void mm_bearer_ip_config_set_mtu (MMBearerIpConfig *self, + guint mtu); GVariant *mm_bearer_ip_config_get_dictionary (MMBearerIpConfig *self); |