--- /dev/null
+#ifndef _SA_COMPARE_H
+#define _SA_COMPARE_H
+
+#include <netinet/in.h>
+
+// A utility functor to help use sockaddr_in6 as keys in a map.
+struct Sockaddr6Compare {
+ bool operator() (const sockaddr_in6 &a, const sockaddr_in6 &b) const;
+};
+
+#endif // !defined(_SA_COMPARE_H)