4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień/*
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień * Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień *
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień * This Source Code Form is subject to the terms of the Mozilla Public
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień * License, v. 2.0. If a copy of the MPL was not distributed with this
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień * file, You can obtain one at http://mozilla.org/MPL/2.0/.
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień */
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień#ifndef GENERIC_DOA_259_H
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień#define GENERIC_DOA_259_H 1
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępieńtypedef struct dns_rdata_doa {
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień dns_rdatacommon_t common;
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień isc_mem_t * mctx;
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień unsigned char * mediatype;
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień unsigned char * data;
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień isc_uint32_t enterprise;
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień isc_uint32_t type;
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień isc_uint16_t data_len;
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień isc_uint8_t location;
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień isc_uint8_t mediatype_len;
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień} dns_rdata_doa_t;
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień
4ee1fbe056e812e661b856b4b448296331a40249Michał Kępień#endif /* GENERIC_DOA_259_H */