SIM_INTERFACE(ethernet_cable) { void (*link_status)(conf_object_t *NOTNULL ep, bool link_up); }; #define ETHERNET_CABLE_INTERFACE "ethernet_cable"
This interface is implemented by Ethernet devices and link endpoints that are interested in the link status of the peer.
The link_status function is used to notify the peer that the link status at the local end is up or down. The ethernet-cable-link class propagates this information to the device connected at the other end.
link_status | Cell Context |