summaryrefslogtreecommitdiff
path: root/src/dhcp/nm-dhcp-client.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-09-28 14:40:12 +0200
committerThomas Haller <thaller@redhat.com>2017-10-09 22:06:25 +0200
commit01930c96b853f2fc776a02cd394167b99ab6a8ea (patch)
tree96c7c1755303d9bc522c8c1255bf10c12ab740bd /src/dhcp/nm-dhcp-client.h
parentcc1ee1d286a3de84fcebc33088d12fee21145d8a (diff)
downloadNetworkManager-01930c96b853f2fc776a02cd394167b99ab6a8ea.tar.gz
core: use ipv4.route-table setting for other IPv4 routes
Including device-routes, default-route, DHCPv4, IPv4LL.
Diffstat (limited to 'src/dhcp/nm-dhcp-client.h')
-rw-r--r--src/dhcp/nm-dhcp-client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dhcp/nm-dhcp-client.h b/src/dhcp/nm-dhcp-client.h
index 98f7e4ab5b..9c9be1605c 100644
--- a/src/dhcp/nm-dhcp-client.h
+++ b/src/dhcp/nm-dhcp-client.h
@@ -39,6 +39,7 @@
#define NM_DHCP_CLIENT_IFINDEX "ifindex"
#define NM_DHCP_CLIENT_HWADDR "hwaddr"
#define NM_DHCP_CLIENT_UUID "uuid"
+#define NM_DHCP_CLIENT_ROUTE_TABLE "route-table"
#define NM_DHCP_CLIENT_ROUTE_METRIC "route-metric"
#define NM_DHCP_CLIENT_TIMEOUT "timeout"
#define NM_DHCP_CLIENT_MULTI_IDX "multi-idx"
@@ -122,6 +123,8 @@ const GByteArray *nm_dhcp_client_get_duid (NMDhcpClient *self);
const GByteArray *nm_dhcp_client_get_hw_addr (NMDhcpClient *self);
+guint32 nm_dhcp_client_get_route_table (NMDhcpClient *self);
+
guint32 nm_dhcp_client_get_route_metric (NMDhcpClient *self);
guint32 nm_dhcp_client_get_timeout (NMDhcpClient *self);
@@ -185,6 +188,7 @@ typedef struct {
const char *iface,
int ifindex,
const char *uuid,
+ guint32 route_table,
guint32 route_metric);
} NMDhcpClientFactory;