\doxysection{include/osmocom/core/macaddr.h File Reference}
\label{macaddr_8h}\index{include/osmocom/core/macaddr.h@{include/osmocom/core/macaddr.h}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \textbf{ osmo\+\_\+macaddr\+\_\+parse} (uint8\+\_\+t $\ast$out, const char $\ast$in)
\begin{DoxyCompactList}\small\item\em Parse a MAC address from human-\/readable notation This function parses an ethernet MAC address in the commonly-\/used hex/colon notation (00\+:00\+:00\+:00\+:00\+:00) and generates the binary representation from it. \end{DoxyCompactList}\item 
int \textbf{ osmo\+\_\+get\+\_\+macaddr} (uint8\+\_\+t $\ast$mac\+\_\+out, const char $\ast$dev\+\_\+name)
\begin{DoxyCompactList}\small\item\em Obtain the MAC address of a given network device. \end{DoxyCompactList}\end{DoxyCompactItemize}
