diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:40 +0000 |
commit | fc53809803cd2bc2434e312b19a18fa36776da12 (patch) | |
tree | b4b43bd6538f51965ce32856e9c053d0f90919c8 /src/shared/netif-util.h | |
parent | Adding upstream version 255.5. (diff) | |
download | systemd-fc53809803cd2bc2434e312b19a18fa36776da12.tar.xz systemd-fc53809803cd2bc2434e312b19a18fa36776da12.zip |
Adding upstream version 256.upstream/256
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/shared/netif-util.h')
-rw-r--r-- | src/shared/netif-util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/netif-util.h b/src/shared/netif-util.h index fb6a27c..02c531e 100644 --- a/src/shared/netif-util.h +++ b/src/shared/netif-util.h @@ -20,3 +20,9 @@ int net_verify_hardware_address( uint16_t iftype, const struct hw_addr_data *ib_hw_addr, struct hw_addr_data *new_hw_addr); +int net_generate_mac( + const char *machine_name, + struct ether_addr *mac, + sd_id128_t hash_key, + uint64_t idx); +int net_shorten_ifname(char *ifname, bool check_naming_scheme); |