393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2012, 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews *
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews */
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews/* $Id$ */
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews#ifndef GENERIC_TLSA_52_H
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews#define GENERIC_TLSA_52_H 1
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews/*!
f2ea8c2f965be7ff4c59f805712c12d469226b7bEvan Hunt * \brief per rfc6698.txt
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews */
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrewstypedef struct dns_rdata_tlsa {
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews dns_rdatacommon_t common;
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews isc_mem_t *mctx;
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews isc_uint8_t usage;
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews isc_uint8_t selector;
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews isc_uint8_t match;
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews isc_uint16_t length;
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews unsigned char *data;
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews} dns_rdata_tlsa_t;
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews
393fd55d91306e6def3a3d06748eee031f57bd17Mark Andrews#endif /* GENERIC_TLSA_52_H */