diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-21 06:57:24 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-06-07 23:33:27 +0200 |
commit | a8e5e27c9fb5ad8cab8e83edba8cdbdcb76a88d7 (patch) | |
tree | 9fd566c190e0e1f821794faedd92faeb7a3e20e1 /src/network/networkd-setlink.h | |
parent | network: use request queue to set link flags (diff) | |
download | systemd-a8e5e27c9fb5ad8cab8e83edba8cdbdcb76a88d7.tar.xz systemd-a8e5e27c9fb5ad8cab8e83edba8cdbdcb76a88d7.zip |
network: use request queue to set MAC address
Diffstat (limited to '')
-rw-r--r-- | src/network/networkd-setlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-setlink.h b/src/network/networkd-setlink.h index 0e9e0d61c4..0d6315a76f 100644 --- a/src/network/networkd-setlink.h +++ b/src/network/networkd-setlink.h @@ -8,12 +8,14 @@ typedef struct Request Request; typedef enum SetLinkOperation { SET_LINK_FLAGS, /* Setting IFF_NOARP or friends. */ + SET_LINK_MAC, /* Setting MAC address. */ SET_LINK_MTU, /* Setting MTU. */ _SET_LINK_OPERATION_MAX, _SET_LINK_OPERATION_INVALID = -EINVAL, } SetLinkOperation; int link_request_to_set_flags(Link *link); +int link_request_to_set_mac(Link *link); int link_request_to_set_mtu(Link *link, uint32_t mtu); int link_configure_mtu(Link *link); |