]> Git Repo - J-u-boot.git/blob - include/net-lwip.h
Merge tag 'u-boot-imx-master-20250127' of https://gitlab.denx.de/u-boot/custodians...
[J-u-boot.git] / include / net-lwip.h
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 enum proto_t {
10         TFTPGET
11 };
12
13 struct netif *net_lwip_new_netif(struct udevice *udev);
14 struct netif *net_lwip_new_netif_noip(struct udevice *udev);
15 void net_lwip_remove_netif(struct netif *netif);
16 struct netif *net_lwip_get_netif(void);
17 int net_lwip_rx(struct udevice *udev, struct netif *netif);
18
19 /**
20  * wget_validate_uri() - varidate the uri
21  *
22  * @uri:        uri string of target file of wget
23  * Return:      true if uri is valid, false if uri is invalid
24  */
25 bool wget_validate_uri(char *uri);
26
27 int do_dhcp(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
28 int do_dns(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
29 int do_ping(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
30 int do_wget(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]);
31
32 #endif /* __NET_LWIP_H__ */
This page took 0.027691 seconds and 4 git commands to generate.