libosmocore 1.13.1.1-afb4 Osmocom core library

macaddr.h
Go to the documentation of this file.
1
3#pragma once
4
5 int osmo_macaddr_parse(uint8_t *out, const char *in);
6 int osmo_get_macaddr(uint8_t *mac_out, const char *dev_name);
osmo_get_macaddr
int osmo_get_macaddr(uint8_t *mac_out, const char *dev_name)
Obtain the MAC address of a given network device.
Definition: macaddr.c:120
osmo_macaddr_parse
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 ...
Definition: macaddr.c:42