Payload of DNS SRV record (header). More...
#include <gnunet_tun_lib.h>
Data Fields | |
uint16_t | prio |
Preference for this entry (lower value is higher preference). More... | |
uint16_t | weight |
Relative weight for records with the same priority. More... | |
uint16_t | port |
TCP or UDP port of the service. More... | |
Payload of DNS SRV record (header).
Definition at line 527 of file gnunet_tun_lib.h.
uint16_t GNUNET_TUN_DnsSrvRecord::prio |
Preference for this entry (lower value is higher preference).
Clients will contact hosts from the lowest-priority group first and fall back to higher priorities if the low-priority entries are unavailable. (NBO)
Definition at line 534 of file gnunet_tun_lib.h.
Referenced by GNUNET_DNSPARSER_builder_add_srv(), and GNUNET_DNSPARSER_parse_srv().
uint16_t GNUNET_TUN_DnsSrvRecord::weight |
Relative weight for records with the same priority.
Clients will use the hosts of the same (lowest) priority with a probability proportional to the weight given. (NBO)
Definition at line 541 of file gnunet_tun_lib.h.
Referenced by GNUNET_DNSPARSER_builder_add_srv(), and GNUNET_DNSPARSER_parse_srv().
uint16_t GNUNET_TUN_DnsSrvRecord::port |
TCP or UDP port of the service.
(NBO)
Definition at line 546 of file gnunet_tun_lib.h.
Referenced by GNUNET_DNSPARSER_builder_add_srv(), and GNUNET_DNSPARSER_parse_srv().