On Monday, February 26, 2001 at 12:21:36 PM UTC-5, Anil Dadlani wrote:
Hi,
I need to read the MAC address of a Ethernet chip. How do I get thisusing
vxWorks APIs?
I use the muxIoctl approach as well. To get the cookie, use muxTkCookieGet and pass the device name and unit.
muxCookie = muxTkCookieGet ("gem", 1);
status = muxIoctl (muxCookie, EIOCGADDR, (void*) macData);
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 353 |
Nodes: | 16 (2 / 14) |
Uptime: | 75:06:36 |
Calls: | 7,639 |
Calls today: | 3 |
Files: | 12,802 |
Messages: | 5,691,789 |