HelenOS sources

NIC_GET_CABLE_STATE  322 uspace/lib/drv/generic/remote_nic.c 	    NIC_GET_CABLE_STATE, &_cable_state);
NIC_GET_CABLE_STATE 2500 uspace/lib/drv/generic/remote_nic.c 	[NIC_GET_CABLE_STATE] = remote_nic_get_cable_state,
HelenOS homepage, sources at GitHub