summaryrefslogtreecommitdiff
path: root/cesar/lib/mac_lookup_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/lib/mac_lookup_table.h')
-rw-r--r--cesar/lib/mac_lookup_table.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cesar/lib/mac_lookup_table.h b/cesar/lib/mac_lookup_table.h
index 4c1d3b77e2..56d0afc855 100644
--- a/cesar/lib/mac_lookup_table.h
+++ b/cesar/lib/mac_lookup_table.h
@@ -122,6 +122,18 @@ mac_lookup_table_convert (mac_lookup_block_header_t *table);
void
mac_lookup_table_release (mac_lookup_table_t *table);
+
+/**
+ * Find an entry by its MAC address into the MAC lookup table.
+ * \param table the MAC lookup table.
+ * \param position index which should be valid in the MAC lookup table.
+ * \param mac_address return parameter found at position.
+ * \param extra_info return parameter found at position.
+ */
+void
+mac_lookup_table_get_entry (mac_lookup_table_t *table, uint position,
+ mac_t *mac_address, u16 *extra_info);
+
/**
* Find an entry by its MAC address into the MAC lookup table.
* \param table the MAC lookup table in which to search the MAC address.