1999-02-01 07:58:13 +00:00
|
|
|
/*
|
2018-02-23 09:53:12 +01:00
|
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
2000-08-01 01:33:37 +00:00
|
|
|
*
|
2021-06-03 08:37:05 +02:00
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*
|
2016-06-27 14:56:38 +10:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
2020-09-14 16:20:40 -07:00
|
|
|
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
2018-02-23 09:53:12 +01:00
|
|
|
*
|
|
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
|
|
* information regarding copyright ownership.
|
1999-02-01 07:58:13 +00:00
|
|
|
*/
|
|
|
|
|
2021-10-05 16:49:47 +02:00
|
|
|
#pragma once
|
2000-04-29 02:02:38 +00:00
|
|
|
|
2005-04-27 04:57:32 +00:00
|
|
|
/*!
|
|
|
|
* \brief Per RFC1876 */
|
1999-02-01 07:58:13 +00:00
|
|
|
|
2000-05-05 05:50:14 +00:00
|
|
|
typedef struct dns_rdata_loc_0 {
|
2020-02-14 08:14:03 +01:00
|
|
|
uint8_t version; /* must be first and zero */
|
|
|
|
uint8_t size;
|
|
|
|
uint8_t horizontal;
|
|
|
|
uint8_t vertical;
|
2020-02-12 13:59:18 +01:00
|
|
|
uint32_t latitude;
|
|
|
|
uint32_t longitude;
|
|
|
|
uint32_t altitude;
|
2000-05-05 05:50:14 +00:00
|
|
|
} dns_rdata_loc_0_t;
|
|
|
|
|
2000-04-28 21:49:03 +00:00
|
|
|
typedef struct dns_rdata_loc {
|
2020-02-12 13:59:18 +01:00
|
|
|
dns_rdatacommon_t common;
|
2000-05-05 05:50:14 +00:00
|
|
|
union {
|
|
|
|
dns_rdata_loc_0_t v0;
|
|
|
|
} v;
|
2000-04-28 21:49:03 +00:00
|
|
|
} dns_rdata_loc_t;
|