blob: cfd0672657734cd0b622cd2419ec43eafdbef436 [file] [log] [blame]
Jerome Forissier64abd782024-10-16 12:04:00 +02001/* 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
9struct netif *net_lwip_new_netif(struct udevice *udev);
10struct netif *net_lwip_new_netif_noip(struct udevice *udev);
11void net_lwip_remove_netif(struct netif *netif);
12struct netif *net_lwip_get_netif(void);
Jerome Forissier1ff00362024-10-16 12:04:03 +020013int net_lwip_rx(struct udevice *udev, struct netif *netif);
14
15int do_dhcp(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
Jerome Forissier64abd782024-10-16 12:04:00 +020016
17#endif /* __NET_LWIP_H__ */