summaryrefslogtreecommitdiff
path: root/libnm/libnm.ver
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2020-06-10 13:54:54 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2020-06-12 16:04:06 +0200
commit808e837149978fc16b1aa90260600a764cecb284 (patch)
tree68cf7650a7a5cd0440a6c1fbad20cb90750c18d0 /libnm/libnm.ver
parentd13ca45ca265b67f7ccf0c17ae36dd804ddf7ef4 (diff)
downloadNetworkManager-808e837149978fc16b1aa90260600a764cecb284.tar.gz
all: add "path" property to the match setting
Add a new "path" property to the match setting, which can be used to restrict a connection to devices with a given hardware path. The new property is a list of patterns that are matched against the ID_PATH udev property of devices. ID_PATH represents the topological persistent path of a device and typically contains a subsystem string (pci, usb, platform, etc.) and a subsystem-specific identifier. Some examples of paths are: pci-0000:00:02.0 pci-0000:00:14.0-usb-0:5:1.0 platform-1c40000.ethernet systemd-networkd also has a "Path=" option to match a device by udev ID_PATH.
Diffstat (limited to 'libnm/libnm.ver')
-rw-r--r--libnm/libnm.ver7
1 files changed, 7 insertions, 0 deletions
diff --git a/libnm/libnm.ver b/libnm/libnm.ver
index 8fdc3cc595..44437435d3 100644
--- a/libnm/libnm.ver
+++ b/libnm/libnm.ver
@@ -1713,18 +1713,25 @@ global:
nm_setting_connection_get_mud_url;
nm_setting_match_add_driver;
nm_setting_match_add_kernel_command_line;
+ nm_setting_match_add_path;
nm_setting_match_clear_drivers;
nm_setting_match_clear_kernel_command_lines;
+ nm_setting_match_clear_paths;
nm_setting_match_get_driver;
nm_setting_match_get_drivers;
nm_setting_match_get_kernel_command_line;
nm_setting_match_get_kernel_command_lines;
nm_setting_match_get_num_drivers;
nm_setting_match_get_num_kernel_command_lines;
+ nm_setting_match_get_num_paths;
+ nm_setting_match_get_path;
+ nm_setting_match_get_paths;
nm_setting_match_remove_driver;
nm_setting_match_remove_driver_by_value;
nm_setting_match_remove_kernel_command_line;
nm_setting_match_remove_kernel_command_line_by_value;
+ nm_setting_match_remove_path;
+ nm_setting_match_remove_path_by_value;
nm_setting_option_clear_by_name;
nm_setting_option_get;
nm_setting_option_get_all_names;