Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
37:793b39683406
Parent:
36:900e24b27bfb
Child:
42:222a4f45f916
--- a/eth/arp.cpp	Mon Sep 25 07:09:32 2017 +0000
+++ b/eth/arp.cpp	Wed Oct 04 07:51:02 2017 +0000
@@ -1,12 +1,13 @@
-#include "mbed.h"
-#include  "log.h"
-#include  "net.h"
-#include  "eth.h"
-#include  "mac.h"
-#include "dhcp.h"
-#include   "ar.h"
-#include   "nr.h"
-#include   "io.h"
+#include   "mbed.h"
+#include    "log.h"
+#include "action.h"
+#include    "net.h"
+#include    "eth.h"
+#include    "mac.h"
+#include   "dhcp.h"
+#include     "ar.h"
+#include     "nr.h"
+#include     "io.h"
 
 #define REQUEST   1
 #define REPLY     2
@@ -28,7 +29,7 @@
     char     targetHardwareAddress[6]; //nbytes: (ar$tha) Hardware address of target of this packet (if known).
     uint32_t targetProtocolAddress;    //mbytes: (ar$tpa) Protocol address of target.
 };
-int ArpHandleReceivedPacket(char* pSrcMac, void * pPacket, int* pSize, char* pDstMac)
+int ArpHandleReceivedPacket(void (*traceback)(void), char* pSrcMac, void * pPacket, int* pSize, char* pDstMac)
 {
     struct header*         pHeader = (header*)pPacket;
     int16_t           hardwareType = NetToHost16(pHeader->hardwareType);