summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2012-04-04 18:04:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-04-05 08:56:03 +0200
commit56f6bfb820a61f9aef0964f609b22d0ad73d0bb3 (patch)
tree0c64b6fbae468b88cdcded46650ab0df645605ef /include
parentf31693eb58089ae16ceb8b0eb34604d83669b360 (diff)
downloadbarebox-56f6bfb820a61f9aef0964f609b22d0ad73d0bb3.tar.gz
barebox-56f6bfb820a61f9aef0964f609b22d0ad73d0bb3.tar.xz
net: arp_request: do not retry endlessly
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index 0ebe19823a..3f2187eca0 100644
--- a/include/net.h
+++ b/include/net.h
@@ -21,6 +21,8 @@
#include <led.h>
#include <asm/byteorder.h> /* for nton* / ntoh* stuff */
+/* How often do we retry to send packages */
+#define PKT_NUM_RETRIES 4
/* The number of receive packet buffers */
#define PKTBUFSRX 4