Jerome Forissier | 64abd78 | 2024-10-16 12:04:00 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | |
| 3 | #ifndef __NET_LWIP_H__ |
| 4 | #define __NET_LWIP_H__ |
| 5 | |
| 6 | #include <lwip/ip4.h> |
| 7 | #include <lwip/netif.h> |
| 8 | |
| 9 | struct netif *net_lwip_new_netif(struct udevice *udev); |
| 10 | struct netif *net_lwip_new_netif_noip(struct udevice *udev); |
| 11 | void net_lwip_remove_netif(struct netif *netif); |
| 12 | struct netif *net_lwip_get_netif(void); |
Jerome Forissier | 1ff0036 | 2024-10-16 12:04:03 +0200 | [diff] [blame^] | 13 | int net_lwip_rx(struct udevice *udev, struct netif *netif); |
| 14 | |
| 15 | int do_dhcp(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]); |
Jerome Forissier | 64abd78 | 2024-10-16 12:04:00 +0200 | [diff] [blame] | 16 | |
| 17 | #endif /* __NET_LWIP_H__ */ |