about summary refs log tree commit diff
path: root/src/core/nm-l3-config-data.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2025-02-12 13:46:50 +0100
committerMichael Biebl <biebl@debian.org>2025-02-12 13:46:50 +0100
commit8bdf070ff046f482f6eb5e2b15ebc216f5d1e3da (patch)
treef706478d189d54c6532e8863d4b0d5ff5575af60 /src/core/nm-l3-config-data.h
parent818258cf34b83fbc754633295e1052d4752d7b15 (diff)
New upstream version 1.51.90 upstream/1.51.90
Diffstat (limited to 'src/core/nm-l3-config-data.h')
-rw-r--r--src/core/nm-l3-config-data.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/nm-l3-config-data.h b/src/core/nm-l3-config-data.h
index faf4f0bf..bcb6af67 100644
--- a/src/core/nm-l3-config-data.h
+++ b/src/core/nm-l3-config-data.h
@@ -28,6 +28,7 @@ typedef enum {
     ((is_ipv4) ? NM_L3_CONFIG_DAT_FLAGS_HAS_DNS_PRIORITY_4 \
                : NM_L3_CONFIG_DAT_FLAGS_HAS_DNS_PRIORITY_6)
 
+    NM_L3_CONFIG_DAT_FLAGS_HAS_IPV4_NON_LL = (1ull << 3),
 } NML3ConfigDatFlags;
 
 typedef enum {
@@ -499,10 +500,9 @@ nm_l3_config_data_get_nameservers(const NML3ConfigData *self, int addr_family, g
 gboolean
 nm_l3_config_data_add_nameserver(NML3ConfigData *self, int addr_family, const char *nameserver);
 
-gboolean nm_l3_config_data_add_nameserver_detail(NML3ConfigData *self,
-                                                 int             addr_family,
-                                                 gconstpointer   addr_bin,
-                                                 const char     *server_name);
+gboolean nm_l3_config_data_add_nameserver_addr(NML3ConfigData *self,
+                                               int             addr_family,
+                                               gconstpointer   addr_bin);
 
 gboolean nm_l3_config_data_clear_nameservers(NML3ConfigData *self, int addr_family);
 
@@ -561,6 +561,9 @@ void nm_l3_config_data_set_allow_routes_without_address(NML3ConfigData *self,
                                                         int             addr_family,
                                                         gboolean        value);
 
+gboolean nm_l3_config_data_get_routed_dns(const NML3ConfigData *self, int addr_family);
+void     nm_l3_config_data_set_routed_dns(NML3ConfigData *self, int addr_family, gboolean value);
+
 NMProxyConfigMethod nm_l3_config_data_get_proxy_method(const NML3ConfigData *self);
 
 gboolean nm_l3_config_data_set_proxy_method(NML3ConfigData *self, NMProxyConfigMethod value);