From 40d56f96b907f8afb717a5d33fd72bee0f6ad1fb Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 18 Aug 2014 19:03:40 +0200 Subject: osmocore: Add function osmo_macaddr_parse() to parse ETH MAC address --- include/osmocom/core/macaddr.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 include/osmocom/core/macaddr.h (limited to 'include/osmocom') 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 -- cgit v1.2.3