|
libosmocore 1.11.0.52-28973f
Osmocom core library
|
MAC address utility routines. More...
#include "config.h"#include <stdint.h>#include <string.h>#include <stdlib.h>#include <unistd.h>#include <errno.h>#include <sys/ioctl.h>#include <net/if.h>#include <netinet/in.h>#include <netinet/ip.h>Functions | |
| int | osmo_macaddr_parse (uint8_t *out, const char *in) |
| 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. More... | |
| int | osmo_get_macaddr (uint8_t *mac_out, const char *dev_name) |
| Obtain the MAC address of a given network device. More... | |
MAC address utility routines.