summaryrefslogtreecommitdiff
path: root/src/nm-ip4-config.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2013-06-11 17:05:49 -0500
committerDan Williams <dcbw@redhat.com>2013-06-21 16:18:49 -0500
commit8ce4250d8e68a9465506d239c478856ceac4caa7 (patch)
treea220be8f25e23318c2f82f0b8491aa7b4808bee9 /src/nm-ip4-config.h
parent00203a879832db2a1fb9694c8ca8259f85a67ab4 (diff)
downloadNetworkManager-8ce4250d8e68a9465506d239c478856ceac4caa7.tar.gz
core: ping the gateway during the IP_CHECK state (bgo #702515)
Using the new gateway-ping-timeout property, send pings to the first gateway address until it replies or the timeout is reached, to deal with dumb hardware that indicates carrier on but doesn't actually pass traffic. https://bugzilla.gnome.org/show_bug.cgi?id=702515
Diffstat (limited to 'src/nm-ip4-config.h')
-rw-r--r--src/nm-ip4-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nm-ip4-config.h b/src/nm-ip4-config.h
index 309f9edd36..1e1f95d078 100644
--- a/src/nm-ip4-config.h
+++ b/src/nm-ip4-config.h
@@ -62,6 +62,8 @@ void nm_ip4_config_replace_address (NMIP4Config *config, guint32 i,
NMIP4Address *nm_ip4_config_get_address (NMIP4Config *config, guint32 i);
guint32 nm_ip4_config_get_num_addresses (NMIP4Config *config);
+guint32 nm_ip4_config_get_gateway (NMIP4Config *config);
+
guint32 nm_ip4_config_get_ptp_address (NMIP4Config *config);
void nm_ip4_config_set_ptp_address (NMIP4Config *config, guint32 ptp_addr);