Sample code to get network interfaces, their names, IPv4/v6 addresses, and MAC's
- get_mac_ioctl.c: use ioctl to get interface MAC address e.g. 08:00:27:f8:5c:2c
- get_interfaces.c: get interfaces, their IPv4/v6 addresses, and MAC addresses
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Sample code to get network interfaces, their names, IPv4/v6 addresses, and MAC's