summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-manager.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-10-07 07:24:34 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-10-07 14:35:16 +0200
commit4147618612bc79fc2ea38914ff75826dd4ae4f09 (patch)
tree3c2a66062ce2265a16eeec7a3149e29c815f9ffb /src/network/networkd-manager.h
parentnetwork/tc: drop child tree of traffic control nodes on remove (diff)
downloadsystemd-4147618612bc79fc2ea38914ff75826dd4ae4f09.tar.xz
systemd-4147618612bc79fc2ea38914ff75826dd4ae4f09.zip
network/tc: fix enumeration logic of traffic control classes
TC class can be enumerated only per link.
Diffstat (limited to 'src/network/networkd-manager.h')
-rw-r--r--src/network/networkd-manager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/networkd-manager.h b/src/network/networkd-manager.h
index a27137a845..65bd5073a5 100644
--- a/src/network/networkd-manager.h
+++ b/src/network/networkd-manager.h
@@ -113,6 +113,11 @@ int manager_start(Manager *m);
int manager_load_config(Manager *m);
+int manager_enumerate_internal(
+ Manager *m,
+ sd_netlink *nl,
+ sd_netlink_message *req,
+ int (*process)(sd_netlink *, sd_netlink_message *, Manager *));
int manager_enumerate(Manager *m);
int manager_set_hostname(Manager *m, const char *hostname);