aboutsummaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas2022-08-08 21:46:03 +0930
committerTom Rini2022-10-21 16:04:39 -0400
commit09bd3d0b0a954f250bac61fee7e3c6d037914569 (patch)
tree4f85b9e67aa28ad4505b3cd0a6191a1dcc29281d /include/net.h
parent7723828c97bc107d2fba976fc50403ac8747f1bc (diff)
net: NC-SI setup and handling
Add the handling of NC-SI ethernet frames, and add a check at the start of net_loop() to configure NC-SI before starting other network commands. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h
index c06b577808b..32364ed0ced 100644
--- a/include/net.h
+++ b/include/net.h
@@ -560,7 +560,7 @@ extern int net_restart_wrap; /* Tried all network devices */
enum proto_t {
BOOTP, RARP, ARP, TFTPGET, DHCP, PING, DNS, NFS, CDP, NETCONS, SNTP,
- TFTPSRV, TFTPPUT, LINKLOCAL, FASTBOOT, WOL, UDP
+ TFTPSRV, TFTPPUT, LINKLOCAL, FASTBOOT, WOL, UDP, NCSI
};
extern char net_boot_file_name[1024];/* Boot File name */