/* This function will set callback to be called when the network interface device address has been changed. */
void netdev_set_addr_callback(struct netdev *netdev, netdev_callback_fn addr_callback)
/* This function will set callback to be called when the network interface device address has been changed. */
void netdev_set_addr_callback(struct netdev *netdev, netdev_callback_fn addr_callback)
{
    ASSERT(netdev);
    ASSERT(addr_callback);
    netdev->addr_callback = addr_callback;
}