/* Gets the length of received frame (if any).  */
static status_t enet_get_rx_frame_size(struct ethernetif *ethernetif, uint32_t *length)
/* Gets the length of received frame (if any).  */
static status_t enet_get_rx_frame_size(struct ethernetif *ethernetif, uint32_t *length)
{
    return ENET_GetRxFrameSize(&ethernetif->handle, length);
}