aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_dnsparser_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_dnsparser_lib.h')
-rw-r--r--src/include/gnunet_dnsparser_lib.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/include/gnunet_dnsparser_lib.h b/src/include/gnunet_dnsparser_lib.h
index 04b09fbc4..6f81c8e04 100644
--- a/src/include/gnunet_dnsparser_lib.h
+++ b/src/include/gnunet_dnsparser_lib.h
@@ -11,7 +11,7 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
@@ -86,6 +86,7 @@
86#define GNUNET_DNSPARSER_TYPE_TSIG 250 86#define GNUNET_DNSPARSER_TYPE_TSIG 250
87#define GNUNET_DNSPARSER_TYPE_ALL 255 87#define GNUNET_DNSPARSER_TYPE_ALL 255
88#define GNUNET_DNSPARSER_TYPE_URI 256 88#define GNUNET_DNSPARSER_TYPE_URI 256
89#define GNUNET_DNSPARSER_TYPE_CAA 257
89#define GNUNET_DNSPARSER_TYPE_TA 32768 90#define GNUNET_DNSPARSER_TYPE_TA 32768
90 91
91/** 92/**
@@ -399,6 +400,26 @@ struct GNUNET_DNSPARSER_SoaRecord
399 400
400 401
401/** 402/**
403 * Information from CAA records (RFC 6844).
404 * The tag is followed by the tag_len.
405 * The value is followed by the tag for (d - tag_len - 2) bytes
406 */
407struct GNUNET_DNSPARSER_CaaRecord
408{
409 /**
410 * The flags of the CAA record.
411 */
412 uint8_t flags;
413
414 /**
415 * The length of the tag.
416 */
417 uint8_t tag_len;
418};
419
420
421
422/**
402 * Binary record information (unparsed). 423 * Binary record information (unparsed).
403 */ 424 */
404struct GNUNET_DNSPARSER_RawRecord 425struct GNUNET_DNSPARSER_RawRecord