summaryrefslogtreecommitdiff
path: root/src/basic/ether-addr-util.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2016-05-20 17:27:58 +0200
committerTom Gundersen <teg@jklm.no>2016-05-20 17:27:58 +0200
commit51e0b250779d28eaffff886b5a3cb208c6813a40 (patch)
treef3c6a9cae081c1d87a75f7144ecf2a26cb69297f /src/basic/ether-addr-util.h
parent4e282d11b7f4d08c85b8b80b055b3c92f6714ee1 (diff)
parent9ed8b06c9be4a5efae432d5cf4b1c47d03e6f107 (diff)
Merge pull request #3235 from dkg/hwaddr-cleanup
minor improvements for dealing with MAC Addresses
Diffstat (limited to 'src/basic/ether-addr-util.h')
-rw-r--r--src/basic/ether-addr-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/ether-addr-util.h b/src/basic/ether-addr-util.h
index 074363793e..74e125a95f 100644
--- a/src/basic/ether-addr-util.h
+++ b/src/basic/ether-addr-util.h
@@ -35,3 +35,5 @@ bool ether_addr_equal(const struct ether_addr *a, const struct ether_addr *b);
static inline bool ether_addr_is_null(const struct ether_addr *addr) {
return ether_addr_equal(addr, &ETHER_ADDR_NULL);
}
+
+int ether_addr_from_string(const char *s, struct ether_addr *ret, size_t *offset);