/* Should allocate a pbuf and transfer the bytes of the incoming packet from the interface into the pbuf.  */
static struct pbuf* low_level_input(struct netif *netif)
/* Should allocate a pbuf and transfer the bytes of the incoming packet from the interface into the pbuf.  */
static struct pbuf* low_level_input(struct netif *netif)
{
  struct pbuf *p = NULL;
  if(RxAllocStatus == RX_ALLOC_OK)
  {
    HAL_ETH_ReadData(&EthHandle, (void **)&p);
  }
  return p;
}