aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_tun_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-27 22:25:05 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-27 22:25:05 +0000
commit64732cdb0d95320d9274b26fcac6e617d6473248 (patch)
treea21c273a37f4f210dd577a30e746d6269db75ccf /src/include/gnunet_tun_lib.h
parent94adb0e8c48d47e13e7319bb0fe228263b15abbf (diff)
downloadgnunet-64732cdb0d95320d9274b26fcac6e617d6473248.tar.gz
gnunet-64732cdb0d95320d9274b26fcac6e617d6473248.zip
fixes relating to intercepting DNS queries over IPv6
Diffstat (limited to 'src/include/gnunet_tun_lib.h')
-rw-r--r--src/include/gnunet_tun_lib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_tun_lib.h b/src/include/gnunet_tun_lib.h
index 822a661cf..7bef0a6be 100644
--- a/src/include/gnunet_tun_lib.h
+++ b/src/include/gnunet_tun_lib.h
@@ -918,6 +918,20 @@ GNUNET_TUN_service_name_to_hash (const char *service_name,
918 918
919 919
920/** 920/**
921 * Check if two sockaddrs are equal.
922 *
923 * @param sa one address
924 * @param sb another address
925 * @param include_port also check ports
926 * @return #GNUNET_YES if they are equal
927 */
928int
929GNUNET_TUN_sockaddr_cmp (const struct sockaddr *sa,
930 const struct sockaddr *sb,
931 int include_port);
932
933
934/**
921 * Compute the CADET port given a service descriptor 935 * Compute the CADET port given a service descriptor
922 * (returned from #GNUNET_TUN_service_name_to_hash) and 936 * (returned from #GNUNET_TUN_service_name_to_hash) and
923 * a TCP/UDP port @a ip_port. 937 * a TCP/UDP port @a ip_port.