Which SIO call is used to obtain the mac address associated with a socket.

Which SIO call is used to obtain the mac address associated with a socket.

Post by ebrun » Sat, 11 May 2002 17:22:45



Does anyone know what SIO call is used to get the mac address assocated
with a socket?
On Tru64 it is SIOCRPHYSADDR on Linux it is SIOCGIFHWADDR.
I tried SIOCGLIFPHYADDR but that did not seem to give me the data I want.

--
+----------------------------------------------------------------+
| Eric Bruno                          | Disclaimer:              |
| Software Architect                  | All Opinions expressed   |
| Solution-Soft                       | are my own. They do not  |
| The Regency Plaza Building          | necessarily represent    |
| 2350 Mission College Blvd,Suite 777 | the official             |
| Santa Clara, CA 95054-153           | positions                |
| 408-346-1420 (voice)                | of Solution-Soft.        |
| 408-346-1499 (fax)                  |                          |
+----------------------------------------------------------------+