1 #ifndef _GNVPN_BLOCKDNS_H_
2 #define _GNVPN_BLOCKDNS_H_
4 #include "gnunet_common.h"
7 * Bitmask describing what ip-services are supported by services
10 struct GNUNET_ipservices {
11 unsigned UDP:1 GNUNET_PACKED;
12 unsigned TCP:1 GNUNET_PACKED;
13 unsigned RESERVED:14 GNUNET_PACKED;
17 * This is the structure describing an dns-record such as www.gnunet.
19 struct GNUNET_DNS_Record
22 * The peer providing this service
24 struct GNUNET_PeerIdentity peer;
27 * The descriptor for the service
28 * (a peer may provide more than one service)
30 GNUNET_HashCode service_descriptor;
33 * What connection-types (UDP, TCP, ...) are supported by the service
35 struct GNUNET_ipservices connectiontypes;
38 * The length of the name of the service
40 unsigned char namelen;
43 * The name of the service
44 * This is namelen bytes