summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/net/rarp.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/net/rarp.h')
-rw-r--r--qemu/roms/u-boot/net/rarp.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/net/rarp.h b/qemu/roms/u-boot/net/rarp.h
new file mode 100644
index 000000000..93e18899c
--- /dev/null
+++ b/qemu/roms/u-boot/net/rarp.h
@@ -0,0 +1,29 @@
+/*
+ * (C) Copyright 2000
+ * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#if defined(CONFIG_CMD_RARP)
+
+#ifndef __RARP_H__
+#define __RARP_H__
+
+#include <net.h>
+
+/**********************************************************************/
+/*
+ * Global functions and variables.
+ */
+
+extern int RarpTry;
+
+/* Process the receipt of a RARP packet */
+extern void rarp_receive(struct ip_udp_hdr *ip, unsigned len);
+extern void RarpRequest(void); /* Send a RARP request */
+
+/**********************************************************************/
+
+#endif /* __RARP_H__ */
+#endif