diff options
| author | Michael Biebl <biebl@debian.org> | 2026-07-03 19:53:23 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2026-07-03 19:53:23 +0200 |
| commit | aa308069bebf2d5a3200728caa69a76137c03d8b (patch) | |
| tree | c0ba2281e801c4720a0d8a5e5ee943688234f088 /src/core/nm-core-utils.h | |
| parent | 0a4b2c29da4ccf259bbcea3298d15abebb94348f (diff) | |
| parent | 537bfce2bda471c92caabd388589230200891509 (diff) | |
Update upstream source from tag 'upstream/1.58_rc1'
Update to upstream version '1.58~rc1' with Debian dir 451489c9234e2b6b7c2f41ca6670287ea3ac3efd
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__ */ |