# get_physical_mac **Repository Path**: yjf_victor/get_physical_mac ## Basic Information - **Project Name**: get_physical_mac - **Description**: code to get physical MAC address directly from the network adapter hardware - **Primary Language**: C - **License**: CC0-1.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-01-31 - **Last Updated**: 2024-06-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Get the Real MAC Address from the NIC Hardware === This is a program to get the real MAC address from the NIC hardware. The core code is epaddr->cmd = ETHTOOL_GPERMADDR; epaddr->size = MAX_ADDR_LEN; and ioctl(sockfd, SIOCETHTOOL, &ifr); ---
To the extent possible under law,
yjf_victor
has waived all copyright and related or neighboring rights to
get_physical_mac.