summaryrefslogtreecommitdiff
path: root/net/rarp.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/rarp.h')
-rw-r--r--net/rarp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/rarp.h b/net/rarp.h
index 4e92d80..fc5b363 100644
--- a/net/rarp.h
+++ b/net/rarp.h
@@ -21,14 +21,12 @@
* MA 02111-1307 USA
*/
+#if defined(CONFIG_CMD_RARP)
#ifndef __RARP_H__
#define __RARP_H__
-#ifndef __NET_H__
#include <net.h>
-#endif /* __NET_H__ */
-
/**********************************************************************/
/*
@@ -37,8 +35,11 @@
extern int RarpTry;
+/* Process the receipt of a RARP packet */
+extern void rarp_receive(IP_t *ip, unsigned len);
extern void RarpRequest(void); /* Send a RARP request */
/**********************************************************************/
#endif /* __RARP_H__ */
+#endif