aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-08-18 19:19:45 +0200
committerHarald Welte <laforge@gnumonks.org>2014-08-18 19:19:45 +0200
commitfe3e42bdcbaa3bcb336227b8d2a7aad73c636047 (patch)
tree2e4f608e819d15cb694eed78be4be4e3b89093ae /include/osmocom
parent40d56f96b907f8afb717a5d33fd72bee0f6ad1fb (diff)
Add osmo_get_macaddr() function to obtain etherent mac address
This used to be private in osmo-bts/common/abis.c, where it really didn't belong.
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/core/macaddr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/core/macaddr.h b/include/osmocom/core/macaddr.h
index 517977bb..3a4e67ff 100644
--- a/include/osmocom/core/macaddr.h
+++ b/include/osmocom/core/macaddr.h
@@ -2,5 +2,6 @@
#define _OSMO_MACADDR_H
int osmo_macaddr_parse(uint8_t *out, const char *in);
+int osmo_get_macaddr(uint8_t *mac_out, const char *dev_name);
#endif