Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | macaddr: Add some code for FreeBSD (it should work on the others too) | Holger Hans Peter Freyther | 2014-08-21 | 1 | -0/+41 |
| | | | | | | | | There doesn't seem to be a way to share this code with Linux as it doesn't have the sockaddr_dl concept inside the getifaddrs. I manually verified this on a FreeBSD10 box and hex decoding gave me the correct mac address and rc was 0. | ||||
* | macaddr: add #include unistd.h for close() function | Harald Welte | 2014-08-21 | 1 | -0/+1 |
| | | | | this fixes a compile warning | ||||
* | Add osmo_get_macaddr() function to obtain etherent mac address | Harald Welte | 2014-08-18 | 1 | -0/+26 |
| | | | | | This used to be private in osmo-bts/common/abis.c, where it really didn't belong. | ||||
* | osmocore: Add function osmo_macaddr_parse() to parse ETH MAC address | Harald Welte | 2014-08-18 | 1 | -0/+25 |