Synopsis
void ctl_net_do_mac_dis_connect(void);
Description

ctl_net_do_mac_dis_connect signals to the network stack that the media connected to an network interface has changed state, such as unplugging or plugging the Ethernet cable.

It is intended that MAC-layer or PHY-layer drivers call ctl_net_do_mac_dis_connect when they detect that the media has changed as the PHY will renegotiate its operating parameters and the MAC may well need to be reconfigured for inter-packet gaps and so on. In addition, the network stack must renegotiate its DHCP parameters.