> I want to what is call made to driver when we try to change
 > the MAC address . I am porting my linux Network driver to 
 > solaris , there is a call  set_mac_address , which we register 
 > During the network probe and this function is called back if we 
 > change the MAC address in Linux . Is there any similar function  
 > in solaris or is there any call be made to driver if the MAC address
 > is changed using ifconfig 

It depends what framework you're writing your driver to.  If it's raw
DLPI, it'll get a DL_SET_PHYS_ADDR_REQ DLPI message.  If it's GLDv2,
it'll get called back via gldm_set_mac_addr().  If it's GLDv3[1], it'll
get called back via mc_unicst().

[1] GLDv3 is not yet stable.  If you want to use it without being
    regularly broken, you'd need to integrate your driver into the ON
    consolidation.

-- 
meem
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to