netdev-linux: Open AF_PACKET socket only when it is needed.
[openvswitch] / lib / hmap.h
index f6d2827406845ab83ac39c770bc4b877a1935ac9..a987fa48886bc68ce9401ac4be491e70314acf12 100644 (file)
@@ -157,6 +157,9 @@ static inline struct hmap_node *hmap_first(const struct hmap *);
 static inline struct hmap_node *hmap_next(const struct hmap *,
                                           const struct hmap_node *);
 
+struct hmap_node *hmap_at_position(const struct hmap *,
+                                   uint32_t *bucket, uint32_t *offset);
+
 /* Returns the number of nodes currently in 'hmap'. */
 static inline size_t
 hmap_count(const struct hmap *hmap)