D:/opendownloadmanager/ODM-1.x/Bittorrent/libtorrent-0.12/test/test_ip_filter.cpp File Reference

#include "libtorrent/ip_filter.hpp"
#include <boost/utility.hpp>
#include "test.hpp"

Go to the source code of this file.

Functions

template<class Addr>
bool compare (ip_range< Addr > const &lhs, ip_range< Addr > const &rhs)
void test_rules_invariant (std::vector< ip_range< address_v4 > > const &r, ip_filter const &f)
int test_main ()


Function Documentation

template<class Addr>
bool compare ( ip_range< Addr > const &  lhs,
ip_range< Addr > const &  rhs 
) [inline]

int test_main (  ) 

void test_rules_invariant ( std::vector< ip_range< address_v4 > > const &  r,
ip_filter const &  f 
)


Generated on Sun May 25 00:19:43 2008 by  doxygen 1.5.6