libosmocore  1.9.0.20-4ca0f.202310312026
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);
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
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