---
helper/test/odp_table_test.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/helper/test/odp_table_test.c b/helper/test/odp_table_test.c
index e9f74b4..424cb32 100755
--- a/helper/test/odp_table_test.c
+++ b/helper/test/odp_table_test.c
@@ -11,7 +11,19 @@
extern int odp_shm_init_global(void);
extern int odp_shm_init_local(void);
-
+/*
+ * Address Resolution Protocol (ARP)
+ * Description: Once a route has been identified for an IP packet (so the
output interface and
+ * the IP address of the next hop station are known), the MAC address of the
next hop station
+ * is needed in order to send this packet onto the next leg of the journey
towards its
+ * destination (as identified by its destination IP address). The MAC address
of the next
+ * hop station becomes the destination MAC address of the outgoing Ethernet
frame.
+ * Hash table name: ARP table
+ * Number of keys: Thousands
+ * Key format: The pair of (Output interface, Next Hop IP address),
+ which is typically 5 bytes for IPv4 and 17 bytes for IPv6.
+ * value (data): MAC address of the next hop station (6 bytes).
+ */
int main(int argc TEST_UNUSED, char *argv[] TEST_UNUSED)
{
int ret = 0;
--
1.9.1
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp