1236171Sdougb/* 2236171Sdougb * Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC") 3236171Sdougb * 4236171Sdougb * Permission to use, copy, modify, and/or distribute this software for any 5236171Sdougb * purpose with or without fee is hereby granted, provided that the above 6236171Sdougb * copyright notice and this permission notice appear in all copies. 7236171Sdougb * 8236171Sdougb * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 9236171Sdougb * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10236171Sdougb * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 11236171Sdougb * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12236171Sdougb * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 13236171Sdougb * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 14236171Sdougb * PERFORMANCE OF THIS SOFTWARE. 15236171Sdougb */ 16236171Sdougb 17236171Sdougb/* $Id$ */ 18236171Sdougb 19236171Sdougb#ifndef GENERIC_TLSA_52_H 20236171Sdougb#define GENERIC_TLSA_52_H 1 21236171Sdougb 22236171Sdougb/*! 23236171Sdougb * \brief per draft-ietf-dane-protocol-19.txt 24236171Sdougb */ 25236171Sdougbtypedef struct dns_rdata_tlsa { 26236171Sdougb dns_rdatacommon_t common; 27236171Sdougb isc_mem_t *mctx; 28236171Sdougb isc_uint8_t usage; 29236171Sdougb isc_uint8_t selector; 30236171Sdougb isc_uint8_t match; 31236171Sdougb isc_uint16_t length; 32236171Sdougb unsigned char *data; 33236171Sdougb} dns_rdata_tlsa_t; 34236171Sdougb 35236171Sdougb#endif /* GENERIC_TLSA_52_H */ 36