2024-09-03 11:16:08 +08:00
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
2024-06-04 19:00:30 +08:00
|
|
|
|
/*
|
2025-01-08 19:12:06 +08:00
|
|
|
|
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
2023-08-30 16:21:18 +08:00
|
|
|
|
*
|
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __ARTINCHIP_ETHERNETIF_H__
|
|
|
|
|
|
#define __ARTINCHIP_ETHERNETIF_H__
|
|
|
|
|
|
|
|
|
|
|
|
#include "lwip/err.h"
|
|
|
|
|
|
#include "lwip/netif.h"
|
|
|
|
|
|
|
|
|
|
|
|
err_t ethernetif_init(struct netif *netif);
|
2023-11-09 20:19:51 +08:00
|
|
|
|
err_t ethernetif_input(struct netif *netif);
|
2024-06-04 19:00:30 +08:00
|
|
|
|
void ethernetif_input_poll(struct netif *netif);
|
2023-08-30 16:21:18 +08:00
|
|
|
|
|
|
|
|
|
|
#endif
|