Tools/NetTest - Add a runner to test networking stack
[tpg/acess2.git] / Tools / NetTest_Runner / include / arp.h
diff --git a/Tools/NetTest_Runner/include/arp.h b/Tools/NetTest_Runner/include/arp.h
new file mode 100644 (file)
index 0000000..e9a9bea
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ */
+#ifndef _ARP_H_
+#define _ARP_H_
+
+#include <stddef.h>
+#include <stdbool.h>
+
+
+extern void ARP_SendRequest(int IfNum, const void *IPv4Addr);
+extern void ARP_SendResponse(int IfNum, const void *IPv4Addr, const void *MacAddr);
+extern bool ARP_Pkt_IsResponse(size_t Len, const void *Packet, const void *ExpectedIP, const void *ExpectedMac);
+extern bool ARP_Pkt_IsRequest(size_t Len, const void *Packet, const void *ExpectedIP);
+
+#endif
+

UCC git Repository :: git.ucc.asn.au