Socket: Make 'ServerSocketHandle::accept()' callable with undefined AddressingPolicy
[senf.git] / Socket / Protocols / INet / INet6Address.ih
index 1dc03ff..a41e8c6 100644 (file)
@@ -1,3 +1,5 @@
+// $Id$
+//
 // Copyright (C) 2007 
 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
 // Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
@@ -180,12 +182,18 @@ namespace detail {
         : public CheckINet6Network_impl2<a0,0,0,0,0,0,0,0,a1>
     {};
 
-    template <boost::uint64_t net, boost::uint64_t id, unsigned bits, unsigned bytes>
-    struct IsINet6Network_impl
-    {};
-
 #   endif
 
+    boost::uint8_t low_bits_mask(unsigned bits);
+
+    template <class ForwardIterator, class Function>
+    void apply_mask(unsigned bits, ForwardIterator b, ForwardIterator e, Function fn);
+
+    template <class ForwardIterator1, class ForwardIterator2, class Function>
+    ForwardIterator1 find_if_mask(unsigned bits, 
+                                  ForwardIterator1 b1, ForwardIterator1 e1, ForwardIterator2 b2,
+                                  Function fn);
+
 }}
 
 ///////////////////////////////ih.e////////////////////////////////////////