summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-05-06 10:34:34 -0400
committerTom Rini <trini@konsulko.com>2023-05-06 10:34:34 -0400
commitae0772f333a7e76c4fb3771a77117b2f740d7c93 (patch)
tree89fd938073db85162aab26a9096447d7a311b957 /include/net.h
parentab75996ba49c140c529f14b5c40d0d16430feefb (diff)
parent1a3af267c097c330fb2bf12493186a345523df38 (diff)
Merge branch '2023-05-05-networking-updates'
- Cleanup NFS support, add NFSv1 support, assorted IPv6 improvements, PHY cleanups and improvements, ksz9477, ldpaa and rtl8169 improvements, overall network performance improvements.
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/net.h b/include/net.h
index 399af5e0645..785cb1059ef 100644
--- a/include/net.h
+++ b/include/net.h
@@ -484,6 +484,8 @@ extern char net_hostname[32]; /* Our hostname */
#ifdef CONFIG_NET
extern char net_root_path[CONFIG_BOOTP_MAX_ROOT_PATH_LEN]; /* Our root path */
#endif
+/* Indicates whether the pxe path prefix / config file was specified in dhcp option */
+extern char *pxelinux_configfile;
/** END OF BOOTP EXTENTIONS **/
extern u8 net_ethaddr[ARP_HLEN]; /* Our ethernet address */
extern u8 net_server_ethaddr[ARP_HLEN]; /* Boot server enet address */
@@ -504,8 +506,9 @@ extern ushort net_native_vlan; /* Our Native VLAN */
extern int net_restart_wrap; /* Tried all network devices */
enum proto_t {
- BOOTP, RARP, ARP, TFTPGET, DHCP, PING, PING6, DNS, NFS, CDP, NETCONS,
- SNTP, TFTPSRV, TFTPPUT, LINKLOCAL, FASTBOOT, WOL, UDP, NCSI, WGET
+ BOOTP, RARP, ARP, TFTPGET, DHCP, DHCP6, PING, PING6, DNS, NFS, CDP,
+ NETCONS, SNTP, TFTPSRV, TFTPPUT, LINKLOCAL, FASTBOOT_UDP, FASTBOOT_TCP,
+ WOL, UDP, NCSI, WGET, RS
};
extern char net_boot_file_name[1024];/* Boot File name */