diff options
Diffstat (limited to 'src/core/nm-core-utils.h')
| -rw-r--r-- | src/core/nm-core-utils.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/nm-core-utils.h b/src/core/nm-core-utils.h index cccccae6..a1892b99 100644 --- a/src/core/nm-core-utils.h +++ b/src/core/nm-core-utils.h @@ -304,6 +304,7 @@ typedef enum { NM_UTILS_STABLE_TYPE_STABLE_ID = 1, NM_UTILS_STABLE_TYPE_GENERATED = 2, NM_UTILS_STABLE_TYPE_RANDOM = 3, + NM_UTILS_STABLE_TYPE_CLAT = 4, } NMUtilsStableType; #define NM_UTILS_STABLE_TYPE_NONE ((NMUtilsStableType) - 1) @@ -520,4 +521,19 @@ void nm_utils_read_private_files(const char *const *paths, gpointer cb_data); GHashTable *nm_utils_read_private_files_finish(GAsyncResult *result, GError **error); +/*****************************************************************************/ + +void nm_utils_ping_host(NMIPAddrTyped address, + int ifindex, + guint timeout_sec, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer cb_data); + +gboolean nm_utils_ping_host_finish(GAsyncResult *result, GError **error); + +uint16_t nm_utils_icmp6_checksum(const void *ip6_src, size_t data_len, const void *data); + +gboolean nm_utils_ipv6_dad_send(const struct in6_addr *addr, int ifindex, int arptype); + #endif /* __NM_CORE_UTILS_H__ */ |