"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.17.5/lib/dns/rdata/ch_3/a_1.h" (4 Sep 2020, 796 Bytes) of package /linux/misc/dns/bind9/9.17.5/bind-9.17.5.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /*
    2  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
    3  *
    4  * This Source Code Form is subject to the terms of the Mozilla Public
    5  * License, v. 2.0. If a copy of the MPL was not distributed with this
    6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
    7  *
    8  * See the COPYRIGHT file distributed with this work for additional
    9  * information regarding copyright ownership.
   10  */
   11 
   12 /* by Bjorn.Victor@it.uu.se, 2005-05-07 */
   13 /* Based on generic/mx_15.h */
   14 
   15 #ifndef CH_3_A_1_H
   16 #define CH_3_A_1_H 1
   17 
   18 typedef uint16_t ch_addr_t;
   19 
   20 typedef struct dns_rdata_ch_a {
   21     dns_rdatacommon_t common;
   22     isc_mem_t *mctx;
   23     dns_name_t ch_addr_dom; /* ch-addr domain for back mapping
   24                  * */
   25     ch_addr_t ch_addr;  /* chaos address (16 bit) network
   26                  * order */
   27 } dns_rdata_ch_a_t;
   28 
   29 #endif /* CH_3_A_1_H */