diff options
Diffstat (limited to 'src/include/gnunet_tun_lib.h')
-rw-r--r-- | src/include/gnunet_tun_lib.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/gnunet_tun_lib.h b/src/include/gnunet_tun_lib.h index 17acfe5f8..6c7d2cd42 100644 --- a/src/include/gnunet_tun_lib.h +++ b/src/include/gnunet_tun_lib.h | |||
@@ -550,6 +550,29 @@ struct GNUNET_TUN_DnsSrvRecord | |||
550 | 550 | ||
551 | 551 | ||
552 | /** | 552 | /** |
553 | * Payload of DNS URI record (header). | ||
554 | */ | ||
555 | struct GNUNET_TUN_DnsUriRecord | ||
556 | { | ||
557 | /** | ||
558 | * Preference for this entry (lower value is higher preference). Clients | ||
559 | * will contact hosts from the lowest-priority group first and fall back | ||
560 | * to higher priorities if the low-priority entries are unavailable. (NBO) | ||
561 | */ | ||
562 | uint16_t prio GNUNET_PACKED; | ||
563 | |||
564 | /** | ||
565 | * Relative weight for records with the same priority. Clients will use | ||
566 | * the hosts of the same (lowest) priority with a probability proportional | ||
567 | * to the weight given. (NBO) | ||
568 | */ | ||
569 | uint16_t weight GNUNET_PACKED; | ||
570 | |||
571 | /* followed by 'target' name */ | ||
572 | }; | ||
573 | |||
574 | |||
575 | /** | ||
553 | * Payload of DNS CERT record. | 576 | * Payload of DNS CERT record. |
554 | */ | 577 | */ |
555 | struct GNUNET_TUN_DnsCertRecord | 578 | struct GNUNET_TUN_DnsCertRecord |