From fe3e42bdcbaa3bcb336227b8d2a7aad73c636047 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 18 Aug 2014 19:19:45 +0200 Subject: 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. --- include/osmocom/core/macaddr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/osmocom/core') 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 -- cgit v1.2.3