summaryrefslogtreecommitdiff
path: root/include/net-lwip.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net-lwip.h')
-rw-r--r--include/net-lwip.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/net-lwip.h b/include/net-lwip.h
new file mode 100644
index 00000000000..5c3f9e7e86c
--- /dev/null
+++ b/include/net-lwip.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+#ifndef __NET_LWIP_H__
+#define __NET_LWIP_H__
+
+#include <lwip/ip4.h>
+#include <lwip/netif.h>
+
+struct netif *net_lwip_new_netif(struct udevice *udev);
+struct netif *net_lwip_new_netif_noip(struct udevice *udev);
+void net_lwip_remove_netif(struct netif *netif);
+struct netif *net_lwip_get_netif(void);
+
+#endif /* __NET_LWIP_H__ */