X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FINet%2FINet6Address.ih;h=5507f4436840e985416220fccd198df5c13365f5;hb=6f50bf49e282c0528f51faa0a245bbfa2b867399;hp=782880dab5ca7c97f7cdf40f522ad0d20db1b267;hpb=ced8f321adf904c31149162de5f6258c971c7466;p=senf.git diff --git a/Socket/Protocols/INet/INet6Address.ih b/Socket/Protocols/INet/INet6Address.ih index 782880d..5507f44 100644 --- a/Socket/Protocols/INet/INet6Address.ih +++ b/Socket/Protocols/INet/INet6Address.ih @@ -1,8 +1,8 @@ // $Id$ // // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -182,12 +182,18 @@ namespace detail { : public CheckINet6Network_impl2 {}; - template - struct IsINet6Network_impl - {}; - # endif + boost::uint8_t low_bits_mask(unsigned bits); + + template + void apply_mask(unsigned bits, ForwardIterator b, ForwardIterator e, Function fn); + + template + ForwardIterator1 find_if_mask(unsigned bits, + ForwardIterator1 b1, ForwardIterator1 e1, ForwardIterator2 b2, + Function fn); + }} ///////////////////////////////ih.e////////////////////////////////////////