aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-18 19:03:40 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-18 19:03:40 +0200
commit40d56f96b907f8afb717a5d33fd72bee0f6ad1fb (patch)
tree81801f9af9ca2f3caf45279d72a6d0c1e155a403 /include/osmocom
parentcc27fa6479efd446065d691d888d1729bc1be2c8 (diff)
osmocore: Add function osmo_macaddr_parse() to parse ETH MAC address
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/core/macaddr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/core/macaddr.h b/include/osmocom/core/macaddr.h
new file mode 100644
index 00000000..517977bb
--- /dev/null
+++ b/include/osmocom/core/macaddr.h
@@ -0,0 +1,6 @@
+#ifndef _OSMO_MACADDR_H
+#define _OSMO_MACADDR_H
+
+int osmo_macaddr_parse(uint8_t *out, const char *in);
+
+#endif