diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-12-18 14:47:47 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-12-19 03:48:05 +0100 |
commit | e22ca70008999ec451f2cf59a66d96cd067a3f15 (patch) | |
tree | 12d761052aff3dc56145957d131a19f483491707 /src/basic/ether-addr-util.h | |
parent | test: add missing operators (diff) | |
download | systemd-e22ca70008999ec451f2cf59a66d96cd067a3f15.tar.xz systemd-e22ca70008999ec451f2cf59a66d96cd067a3f15.zip |
ether-addr-util: split out logic to mark MAC addresses as random
Diffstat (limited to 'src/basic/ether-addr-util.h')
-rw-r--r-- | src/basic/ether-addr-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/ether-addr-util.h b/src/basic/ether-addr-util.h index 83ed77d634..187e4ef583 100644 --- a/src/basic/ether-addr-util.h +++ b/src/basic/ether-addr-util.h @@ -113,3 +113,5 @@ static inline bool ether_addr_is_global(const struct ether_addr *addr) { extern const struct hash_ops ether_addr_hash_ops; extern const struct hash_ops ether_addr_hash_ops_free; + +void ether_addr_mark_random(struct ether_addr *addr); |