libosmocore 1.9.0.196-9975
Osmocom core library
macaddr.h
Go to the documentation of this file.
1
3#pragma once
4
5int osmo_macaddr_parse(uint8_t *out, const char *in);
6int 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