• How do I get the MAC address using vxWorks API?

    From dshilonie@gmail.com@21:1/5 to davew...@gmail.com on Thu Apr 2 17:17:24 2020
    On Monday, February 23, 2015 at 11:12:35 AM UTC-5, davew...@gmail.com wrote:
    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 this
    using
    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);

    Thank you man!! :) works like a charm.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)