diff options
author | Thomas Haller <thaller@redhat.com> | 2019-03-23 15:09:29 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-03-27 16:23:30 +0100 |
commit | 3f9347745b30e6182c3b3c768f78295d72c47a93 (patch) | |
tree | 4830a6eb9bcfe6317b2d395a3ffb3d54ac474b37 /src/NetworkManagerUtils.h | |
parent | ba59c7c3c01b77bc596ba10cede128b8926dd735 (diff) | |
download | NetworkManager-3f9347745b30e6182c3b3c768f78295d72c47a93.tar.gz |
core: add handling of IP routing rules to NMDevice
Diffstat (limited to 'src/NetworkManagerUtils.h')
-rw-r--r-- | src/NetworkManagerUtils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/NetworkManagerUtils.h b/src/NetworkManagerUtils.h index 5e7012241a..2b1f5ed891 100644 --- a/src/NetworkManagerUtils.h +++ b/src/NetworkManagerUtils.h @@ -24,6 +24,9 @@ #include "nm-core-utils.h" +#include "nm-setting-ip-config.h" +#include "platform/nm-platform.h" + /*****************************************************************************/ const char *nm_utils_get_ip_config_method (NMConnection *connection, @@ -60,6 +63,11 @@ int nm_match_spec_device_by_pllink (const NMPlatformLink *pllink, /*****************************************************************************/ +NMPlatformRoutingRule *nm_ip_routing_rule_to_platform (const NMIPRoutingRule *rule, + NMPlatformRoutingRule *out_pl); + +/*****************************************************************************/ + /* during shutdown, there are two relevant timeouts. One is * NM_SHUTDOWN_TIMEOUT_MS which is plenty of time, that we give for all * actions to complete. Of course, during shutdown components should hurry |