summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-setlink.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-25 09:49:34 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-06-07 23:33:27 +0200
commit5062b8593aadc78bd3bf87c04bcbc6bfbff648c8 (patch)
tree38b2d4ac5ec2abdf0b6f22b79fd2307881fcf8da /src/network/networkd-setlink.h
parentnetwork: introduce link_request_to_set_bridge() (diff)
downloadsystemd-5062b8593aadc78bd3bf87c04bcbc6bfbff648c8.tar.xz
systemd-5062b8593aadc78bd3bf87c04bcbc6bfbff648c8.zip
network: introduce link_request_to_set_bond()
This will be used in later commits.
Diffstat (limited to '')
-rw-r--r--src/network/networkd-setlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-setlink.h b/src/network/networkd-setlink.h
index 1744073e04..910fbb64fe 100644
--- a/src/network/networkd-setlink.h
+++ b/src/network/networkd-setlink.h
@@ -8,6 +8,7 @@ typedef struct Request Request;
typedef enum SetLinkOperation {
SET_LINK_ADDRESS_GENERATION_MODE, /* Setting IPv6LL address generation mode. */
+ SET_LINK_BOND, /* Setting bond configs. */
SET_LINK_BRIDGE, /* Setting bridge configs. */
SET_LINK_FLAGS, /* Setting IFF_NOARP or friends. */
SET_LINK_GROUP, /* Setting interface group. */
@@ -19,6 +20,7 @@ typedef enum SetLinkOperation {
} SetLinkOperation;
int link_request_to_set_addrgen_mode(Link *link);
+int link_request_to_set_bond(Link *link);
int link_request_to_set_bridge(Link *link);
int link_request_to_set_flags(Link *link);
int link_request_to_set_group(Link *link);