summaryrefslogtreecommitdiffstats
path: root/libtorrent/include/libtorrent/broadcast_socket.hpp
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2008-02-28 21:38:10 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2008-02-28 21:38:10 +0000
commit945ec512e3d525638423d03809d62564e3b3e3a6 (patch)
treede849f26a2ae82d0b6efb62bb04cc97e629268a7 /libtorrent/include/libtorrent/broadcast_socket.hpp
parentb94fcc1da01922087c972e65e80cba2e66d65f24 (diff)
downloaddeluge-945ec512e3d525638423d03809d62564e3b3e3a6.tar.gz
deluge-945ec512e3d525638423d03809d62564e3b3e3a6.tar.bz2
deluge-945ec512e3d525638423d03809d62564e3b3e3a6.zip
tag 0.5.8.5deluge-0.5.8.5
Diffstat (limited to 'libtorrent/include/libtorrent/broadcast_socket.hpp')
-rw-r--r--libtorrent/include/libtorrent/broadcast_socket.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libtorrent/include/libtorrent/broadcast_socket.hpp b/libtorrent/include/libtorrent/broadcast_socket.hpp
index df656f4ea..a4c448d82 100644
--- a/libtorrent/include/libtorrent/broadcast_socket.hpp
+++ b/libtorrent/include/libtorrent/broadcast_socket.hpp
@@ -45,6 +45,10 @@ namespace libtorrent
bool is_loopback(address const& addr);
bool is_multicast(address const& addr);
bool is_any(address const& addr);
+ int cidr_distance(address const& a1, address const& a2);
+
+ int common_bits(unsigned char const* b1
+ , unsigned char const* b2, int n);
address guess_local_address(asio::io_service&);