summaryrefslogtreecommitdiffstats
path: root/src/shared/netif-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/netif-util.h')
-rw-r--r--src/shared/netif-util.h6
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);