require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_ARPA_NAMESER_H_)) {
    eval 'sub _ARPA_NAMESER_H_ () {1;}' unless defined(&_ARPA_NAMESER_H_);
    eval 'sub BIND_4_COMPAT () {1;}' unless defined(&BIND_4_COMPAT);
    require 'sys/param.ph';
    require 'sys/types.ph';
    require 'sys/cdefs.ph';
    if(!defined(&_NETBSD_SOURCE)) {
    }
    eval 'sub __NAMESER () {20090302;}' unless defined(&__NAMESER);
    eval 'sub NS_PACKETSZ () {512;}' unless defined(&NS_PACKETSZ);
    eval 'sub NS_MAXDNAME () {1025;}' unless defined(&NS_MAXDNAME);
    eval 'sub NS_MAXMSG () {65535;}' unless defined(&NS_MAXMSG);
    eval 'sub NS_MAXCDNAME () {255;}' unless defined(&NS_MAXCDNAME);
    eval 'sub NS_MAXLABEL () {63;}' unless defined(&NS_MAXLABEL);
    eval 'sub NS_MAXLABELS () {128;}' unless defined(&NS_MAXLABELS);
    eval 'sub NS_MAXNNAME () {256;}' unless defined(&NS_MAXNNAME);
    eval 'sub NS_MAXPADDR () {( &sizeof "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff");}' unless defined(&NS_MAXPADDR);
    eval 'sub NS_HFIXEDSZ () {12;}' unless defined(&NS_HFIXEDSZ);
    eval 'sub NS_QFIXEDSZ () {4;}' unless defined(&NS_QFIXEDSZ);
    eval 'sub NS_RRFIXEDSZ () {10;}' unless defined(&NS_RRFIXEDSZ);
    eval 'sub NS_INT32SZ () {4;}' unless defined(&NS_INT32SZ);
    eval 'sub NS_INT16SZ () {2;}' unless defined(&NS_INT16SZ);
    eval 'sub NS_INT8SZ () {1;}' unless defined(&NS_INT8SZ);
    eval 'sub NS_INADDRSZ () {4;}' unless defined(&NS_INADDRSZ);
    eval 'sub NS_IN6ADDRSZ () {16;}' unless defined(&NS_IN6ADDRSZ);
    eval 'sub NS_CMPRSFLGS () {0xc0;}' unless defined(&NS_CMPRSFLGS);
    eval 'sub NS_DEFAULTPORT () {53;}' unless defined(&NS_DEFAULTPORT);
    eval("sub ns_s_qd () { 0; }") unless defined(&ns_s_qd);
    eval("sub ns_s_zn () { 0; }") unless defined(&ns_s_zn);
    eval("sub ns_s_an () { 1; }") unless defined(&ns_s_an);
    eval("sub ns_s_pr () { 1; }") unless defined(&ns_s_pr);
    eval("sub ns_s_ns () { 2; }") unless defined(&ns_s_ns);
    eval("sub ns_s_ud () { 2; }") unless defined(&ns_s_ud);
    eval("sub ns_s_ar () { 3; }") unless defined(&ns_s_ar);
    eval("sub ns_s_max () { 4; }") unless defined(&ns_s_max);
    eval 'sub ns_msg_id {
        my($handle) = @_;
	    eval q((($handle). &_id + 0));
    }' unless defined(&ns_msg_id);
    eval 'sub ns_msg_base {
        my($handle) = @_;
	    eval q((($handle). &_msg + 0));
    }' unless defined(&ns_msg_base);
    eval 'sub ns_msg_end {
        my($handle) = @_;
	    eval q((($handle). &_eom + 0));
    }' unless defined(&ns_msg_end);
    eval 'sub ns_msg_size {
        my($handle) = @_;
	    eval q(((($handle). &_eom - ($handle). &_msg)));
    }' unless defined(&ns_msg_size);
    eval 'sub ns_msg_count {
        my($handle, $section) = @_;
	    eval q((($handle). $_counts[$section] + 0));
    }' unless defined(&ns_msg_count);
    eval 'sub ns_rr_name {
        my($rr) = @_;
	    eval q(((($rr). $name[0] != ord(\'\\\\0\')) ? ($rr). &name : \\".\\"));
    }' unless defined(&ns_rr_name);
    eval 'sub ns_rr_nname {
        my($rr) = @_;
	    eval q((( &const  &ns_nname_t)($rr). &nname));
    }' unless defined(&ns_rr_nname);
    eval 'sub ns_rr_nnamel {
        my($rr) = @_;
	    eval q((($rr). &nnamel + 0));
    }' unless defined(&ns_rr_nnamel);
    eval 'sub ns_rr_type {
        my($rr) = @_;
	    eval q((( &ns_type)(($rr). &type + 0)));
    }' unless defined(&ns_rr_type);
    eval 'sub ns_rr_class {
        my($rr) = @_;
	    eval q((( &ns_class)(($rr). &rr_class + 0)));
    }' unless defined(&ns_rr_class);
    eval 'sub ns_rr_ttl {
        my($rr) = @_;
	    eval q((($rr). &ttl + 0));
    }' unless defined(&ns_rr_ttl);
    eval 'sub ns_rr_rdlen {
        my($rr) = @_;
	    eval q((($rr). &rdlength + 0));
    }' unless defined(&ns_rr_rdlen);
    eval 'sub ns_rr_rdata {
        my($rr) = @_;
	    eval q((($rr). &rdata + 0));
    }' unless defined(&ns_rr_rdata);
    eval("sub ns_f_qr () { 0; }") unless defined(&ns_f_qr);
    eval("sub ns_f_opcode () { 1; }") unless defined(&ns_f_opcode);
    eval("sub ns_f_aa () { 2; }") unless defined(&ns_f_aa);
    eval("sub ns_f_tc () { 3; }") unless defined(&ns_f_tc);
    eval("sub ns_f_rd () { 4; }") unless defined(&ns_f_rd);
    eval("sub ns_f_ra () { 5; }") unless defined(&ns_f_ra);
    eval("sub ns_f_z () { 6; }") unless defined(&ns_f_z);
    eval("sub ns_f_ad () { 7; }") unless defined(&ns_f_ad);
    eval("sub ns_f_cd () { 8; }") unless defined(&ns_f_cd);
    eval("sub ns_f_rcode () { 9; }") unless defined(&ns_f_rcode);
    eval("sub ns_f_max () { 10; }") unless defined(&ns_f_max);
    eval("sub ns_o_query () { 0; }") unless defined(&ns_o_query);
    eval("sub ns_o_iquery () { 1; }") unless defined(&ns_o_iquery);
    eval("sub ns_o_status () { 2; }") unless defined(&ns_o_status);
    eval("sub ns_o_notify () { 4; }") unless defined(&ns_o_notify);
    eval("sub ns_o_update () { 5; }") unless defined(&ns_o_update);
    eval("sub ns_o_max () { 6; }") unless defined(&ns_o_max);
    eval("sub ns_r_noerror () { 0; }") unless defined(&ns_r_noerror);
    eval("sub ns_r_formerr () { 1; }") unless defined(&ns_r_formerr);
    eval("sub ns_r_servfail () { 2; }") unless defined(&ns_r_servfail);
    eval("sub ns_r_nxdomain () { 3; }") unless defined(&ns_r_nxdomain);
    eval("sub ns_r_notimpl () { 4; }") unless defined(&ns_r_notimpl);
    eval("sub ns_r_refused () { 5; }") unless defined(&ns_r_refused);
    eval("sub ns_r_yxdomain () { 6; }") unless defined(&ns_r_yxdomain);
    eval("sub ns_r_yxrrset () { 7; }") unless defined(&ns_r_yxrrset);
    eval("sub ns_r_nxrrset () { 8; }") unless defined(&ns_r_nxrrset);
    eval("sub ns_r_notauth () { 9; }") unless defined(&ns_r_notauth);
    eval("sub ns_r_notzone () { 10; }") unless defined(&ns_r_notzone);
    eval("sub ns_r_max () { 11; }") unless defined(&ns_r_max);
    eval("sub ns_r_badvers () { 16; }") unless defined(&ns_r_badvers);
    eval("sub ns_r_badsig () { 16; }") unless defined(&ns_r_badsig);
    eval("sub ns_r_badkey () { 17; }") unless defined(&ns_r_badkey);
    eval("sub ns_r_badtime () { 18; }") unless defined(&ns_r_badtime);
    eval("sub ns_uop_delete () { 0; }") unless defined(&ns_uop_delete);
    eval("sub ns_uop_add () { 1; }") unless defined(&ns_uop_add);
    eval("sub ns_uop_max () { 2; }") unless defined(&ns_uop_max);
    eval 'sub NS_TSIG_FUDGE () {300;}' unless defined(&NS_TSIG_FUDGE);
    eval 'sub NS_TSIG_TCP_COUNT () {100;}' unless defined(&NS_TSIG_TCP_COUNT);
    eval 'sub NS_TSIG_ALG_HMAC_MD5 () {"HMAC-MD5.SIG-ALG.REG.INT";}' unless defined(&NS_TSIG_ALG_HMAC_MD5);
    eval 'sub NS_TSIG_ERROR_NO_TSIG () {-10;}' unless defined(&NS_TSIG_ERROR_NO_TSIG);
    eval 'sub NS_TSIG_ERROR_NO_SPACE () {-11;}' unless defined(&NS_TSIG_ERROR_NO_SPACE);
    eval 'sub NS_TSIG_ERROR_FORMERR () {-12;}' unless defined(&NS_TSIG_ERROR_FORMERR);
    eval("sub ns_t_invalid () { 0; }") unless defined(&ns_t_invalid);
    eval("sub ns_t_a () { 1; }") unless defined(&ns_t_a);
    eval("sub ns_t_ns () { 2; }") unless defined(&ns_t_ns);
    eval("sub ns_t_md () { 3; }") unless defined(&ns_t_md);
    eval("sub ns_t_mf () { 4; }") unless defined(&ns_t_mf);
    eval("sub ns_t_cname () { 5; }") unless defined(&ns_t_cname);
    eval("sub ns_t_soa () { 6; }") unless defined(&ns_t_soa);
    eval("sub ns_t_mb () { 7; }") unless defined(&ns_t_mb);
    eval("sub ns_t_mg () { 8; }") unless defined(&ns_t_mg);
    eval("sub ns_t_mr () { 9; }") unless defined(&ns_t_mr);
    eval("sub ns_t_null () { 10; }") unless defined(&ns_t_null);
    eval("sub ns_t_wks () { 11; }") unless defined(&ns_t_wks);
    eval("sub ns_t_ptr () { 12; }") unless defined(&ns_t_ptr);
    eval("sub ns_t_hinfo () { 13; }") unless defined(&ns_t_hinfo);
    eval("sub ns_t_minfo () { 14; }") unless defined(&ns_t_minfo);
    eval("sub ns_t_mx () { 15; }") unless defined(&ns_t_mx);
    eval("sub ns_t_txt () { 16; }") unless defined(&ns_t_txt);
    eval("sub ns_t_rp () { 17; }") unless defined(&ns_t_rp);
    eval("sub ns_t_afsdb () { 18; }") unless defined(&ns_t_afsdb);
    eval("sub ns_t_x25 () { 19; }") unless defined(&ns_t_x25);
    eval("sub ns_t_isdn () { 20; }") unless defined(&ns_t_isdn);
    eval("sub ns_t_rt () { 21; }") unless defined(&ns_t_rt);
    eval("sub ns_t_nsap () { 22; }") unless defined(&ns_t_nsap);
    eval("sub ns_t_nsap_ptr () { 23; }") unless defined(&ns_t_nsap_ptr);
    eval("sub ns_t_sig () { 24; }") unless defined(&ns_t_sig);
    eval("sub ns_t_key () { 25; }") unless defined(&ns_t_key);
    eval("sub ns_t_px () { 26; }") unless defined(&ns_t_px);
    eval("sub ns_t_gpos () { 27; }") unless defined(&ns_t_gpos);
    eval("sub ns_t_aaaa () { 28; }") unless defined(&ns_t_aaaa);
    eval("sub ns_t_loc () { 29; }") unless defined(&ns_t_loc);
    eval("sub ns_t_nxt () { 30; }") unless defined(&ns_t_nxt);
    eval("sub ns_t_eid () { 31; }") unless defined(&ns_t_eid);
    eval("sub ns_t_nimloc () { 32; }") unless defined(&ns_t_nimloc);
    eval("sub ns_t_srv () { 33; }") unless defined(&ns_t_srv);
    eval("sub ns_t_atma () { 34; }") unless defined(&ns_t_atma);
    eval("sub ns_t_naptr () { 35; }") unless defined(&ns_t_naptr);
    eval("sub ns_t_kx () { 36; }") unless defined(&ns_t_kx);
    eval("sub ns_t_cert () { 37; }") unless defined(&ns_t_cert);
    eval("sub ns_t_a6 () { 38; }") unless defined(&ns_t_a6);
    eval("sub ns_t_dname () { 39; }") unless defined(&ns_t_dname);
    eval("sub ns_t_sink () { 40; }") unless defined(&ns_t_sink);
    eval("sub ns_t_opt () { 41; }") unless defined(&ns_t_opt);
    eval("sub ns_t_apl () { 42; }") unless defined(&ns_t_apl);
    eval("sub ns_t_ds () { 43; }") unless defined(&ns_t_ds);
    eval("sub ns_t_sshfp () { 44; }") unless defined(&ns_t_sshfp);
    eval("sub ns_t_ipseckey () { 45; }") unless defined(&ns_t_ipseckey);
    eval("sub ns_t_rrsig () { 46; }") unless defined(&ns_t_rrsig);
    eval("sub ns_t_nsec () { 47; }") unless defined(&ns_t_nsec);
    eval("sub ns_t_dnskey () { 48; }") unless defined(&ns_t_dnskey);
    eval("sub ns_t_dhcid () { 49; }") unless defined(&ns_t_dhcid);
    eval("sub ns_t_nsec3 () { 50; }") unless defined(&ns_t_nsec3);
    eval("sub ns_t_nsec3param () { 51; }") unless defined(&ns_t_nsec3param);
    eval("sub ns_t_hip () { 55; }") unless defined(&ns_t_hip);
    eval("sub ns_t_spf () { 99; }") unless defined(&ns_t_spf);
    eval("sub ns_t_tkey () { 249; }") unless defined(&ns_t_tkey);
    eval("sub ns_t_tsig () { 250; }") unless defined(&ns_t_tsig);
    eval("sub ns_t_ixfr () { 251; }") unless defined(&ns_t_ixfr);
    eval("sub ns_t_axfr () { 252; }") unless defined(&ns_t_axfr);
    eval("sub ns_t_mailb () { 253; }") unless defined(&ns_t_mailb);
    eval("sub ns_t_maila () { 254; }") unless defined(&ns_t_maila);
    eval("sub ns_t_any () { 255; }") unless defined(&ns_t_any);
    eval("sub ns_t_zxfr () { 256; }") unless defined(&ns_t_zxfr);
    eval("sub ns_t_dlv () { 32769; }") unless defined(&ns_t_dlv);
    eval("sub ns_t_max () { 65536; }") unless defined(&ns_t_max);
    eval 'sub ns_t_qt_p {
        my($t) = @_;
	    eval q(( &ns_t_xfr_p($t) || ($t) ==  &ns_t_any || ($t) ==  &ns_t_mailb || ($t) ==  &ns_t_maila));
    }' unless defined(&ns_t_qt_p);
    eval 'sub ns_t_mrr_p {
        my($t) = @_;
	    eval q((($t) ==  &ns_t_tsig || ($t) ==  &ns_t_opt));
    }' unless defined(&ns_t_mrr_p);
    eval 'sub ns_t_rr_p {
        my($t) = @_;
	    eval q((! &ns_t_qt_p($t)  && ! &ns_t_mrr_p($t)));
    }' unless defined(&ns_t_rr_p);
    eval 'sub ns_t_udp_p {
        my($t) = @_;
	    eval q((($t) !=  &ns_t_axfr  && ($t) !=  &ns_t_zxfr));
    }' unless defined(&ns_t_udp_p);
    eval 'sub ns_t_xfr_p {
        my($t) = @_;
	    eval q((($t) ==  &ns_t_axfr || ($t) ==  &ns_t_ixfr || ($t) ==  &ns_t_zxfr));
    }' unless defined(&ns_t_xfr_p);
    eval("sub ns_c_invalid () { 0; }") unless defined(&ns_c_invalid);
    eval("sub ns_c_in () { 1; }") unless defined(&ns_c_in);
    eval("sub ns_c_2 () { 2; }") unless defined(&ns_c_2);
    eval("sub ns_c_chaos () { 3; }") unless defined(&ns_c_chaos);
    eval("sub ns_c_hs () { 4; }") unless defined(&ns_c_hs);
    eval("sub ns_c_none () { 254; }") unless defined(&ns_c_none);
    eval("sub ns_c_any () { 255; }") unless defined(&ns_c_any);
    eval("sub ns_c_max () { 65536; }") unless defined(&ns_c_max);
    eval("sub ns_kt_rsa () { 1; }") unless defined(&ns_kt_rsa);
    eval("sub ns_kt_dh () { 2; }") unless defined(&ns_kt_dh);
    eval("sub ns_kt_dsa () { 3; }") unless defined(&ns_kt_dsa);
    eval("sub ns_kt_private () { 254; }") unless defined(&ns_kt_private);
    eval("sub cert_t_pkix () { 1; }") unless defined(&cert_t_pkix);
    eval("sub cert_t_spki () { 2; }") unless defined(&cert_t_spki);
    eval("sub cert_t_pgp () { 3; }") unless defined(&cert_t_pgp);
    eval("sub cert_t_url () { 253; }") unless defined(&cert_t_url);
    eval("sub cert_t_oid () { 254; }") unless defined(&cert_t_oid);
    eval 'sub NS_KEY_TYPEMASK () {0xc000;}' unless defined(&NS_KEY_TYPEMASK);
    eval 'sub NS_KEY_TYPE_AUTH_CONF () {0x;}' unless defined(&NS_KEY_TYPE_AUTH_CONF);
    eval 'sub NS_KEY_TYPE_CONF_ONLY () {0x8000;}' unless defined(&NS_KEY_TYPE_CONF_ONLY);
    eval 'sub NS_KEY_TYPE_AUTH_ONLY () {0x4000;}' unless defined(&NS_KEY_TYPE_AUTH_ONLY);
    eval 'sub NS_KEY_TYPE_NO_KEY () {0xc000;}' unless defined(&NS_KEY_TYPE_NO_KEY);
    eval 'sub NS_KEY_NO_AUTH () {0x8000;}' unless defined(&NS_KEY_NO_AUTH);
    eval 'sub NS_KEY_NO_CONF () {0x4000;}' unless defined(&NS_KEY_NO_CONF);
    eval 'sub NS_KEY_RESERVED2 () {0x2000;}' unless defined(&NS_KEY_RESERVED2);
    eval 'sub NS_KEY_EXTENDED_FLAGS () {0x1000;}' unless defined(&NS_KEY_EXTENDED_FLAGS);
    eval 'sub NS_KEY_RESERVED4 () {0x800;}' unless defined(&NS_KEY_RESERVED4);
    eval 'sub NS_KEY_RESERVED5 () {0x400;}' unless defined(&NS_KEY_RESERVED5);
    eval 'sub NS_KEY_NAME_TYPE () {0x300;}' unless defined(&NS_KEY_NAME_TYPE);
    eval 'sub NS_KEY_NAME_USER () {0x;}' unless defined(&NS_KEY_NAME_USER);
    eval 'sub NS_KEY_NAME_ENTITY () {0x200;}' unless defined(&NS_KEY_NAME_ENTITY);
    eval 'sub NS_KEY_NAME_ZONE () {0x100;}' unless defined(&NS_KEY_NAME_ZONE);
    eval 'sub NS_KEY_NAME_RESERVED () {0x300;}' unless defined(&NS_KEY_NAME_RESERVED);
    eval 'sub NS_KEY_RESERVED8 () {0x80;}' unless defined(&NS_KEY_RESERVED8);
    eval 'sub NS_KEY_RESERVED9 () {0x40;}' unless defined(&NS_KEY_RESERVED9);
    eval 'sub NS_KEY_RESERVED10 () {0x20;}' unless defined(&NS_KEY_RESERVED10);
    eval 'sub NS_KEY_RESERVED11 () {0x10;}' unless defined(&NS_KEY_RESERVED11);
    eval 'sub NS_KEY_SIGNATORYMASK () {0xf;}' unless defined(&NS_KEY_SIGNATORYMASK);
    eval 'sub NS_KEY_RESERVED_BITMASK () {(  &NS_KEY_RESERVED2 |  &NS_KEY_RESERVED4 |  &NS_KEY_RESERVED5 |  &NS_KEY_RESERVED8 |  &NS_KEY_RESERVED9 |  &NS_KEY_RESERVED10 |  &NS_KEY_RESERVED11 );}' unless defined(&NS_KEY_RESERVED_BITMASK);
    eval 'sub NS_KEY_RESERVED_BITMASK2 () {0xffff;}' unless defined(&NS_KEY_RESERVED_BITMASK2);
    eval 'sub NS_ALG_MD5RSA () {1;}' unless defined(&NS_ALG_MD5RSA);
    eval 'sub NS_ALG_DH () {2;}' unless defined(&NS_ALG_DH);
    eval 'sub NS_ALG_DSA () {3;}' unless defined(&NS_ALG_DSA);
    eval 'sub NS_ALG_DSS () { &NS_ALG_DSA;}' unless defined(&NS_ALG_DSS);
    eval 'sub NS_ALG_EXPIRE_ONLY () {253;}' unless defined(&NS_ALG_EXPIRE_ONLY);
    eval 'sub NS_ALG_PRIVATE_OID () {254;}' unless defined(&NS_ALG_PRIVATE_OID);
    eval 'sub NS_KEY_PROT_TLS () {1;}' unless defined(&NS_KEY_PROT_TLS);
    eval 'sub NS_KEY_PROT_EMAIL () {2;}' unless defined(&NS_KEY_PROT_EMAIL);
    eval 'sub NS_KEY_PROT_DNSSEC () {3;}' unless defined(&NS_KEY_PROT_DNSSEC);
    eval 'sub NS_KEY_PROT_IPSEC () {4;}' unless defined(&NS_KEY_PROT_IPSEC);
    eval 'sub NS_KEY_PROT_ANY () {255;}' unless defined(&NS_KEY_PROT_ANY);
    eval 'sub NS_MD5RSA_MIN_BITS () {512;}' unless defined(&NS_MD5RSA_MIN_BITS);
    eval 'sub NS_MD5RSA_MAX_BITS () {4096;}' unless defined(&NS_MD5RSA_MAX_BITS);
    eval 'sub NS_MD5RSA_MAX_BYTES () {(( &NS_MD5RSA_MAX_BITS+7/8)*2+3);}' unless defined(&NS_MD5RSA_MAX_BYTES);
    eval 'sub NS_MD5RSA_MAX_BASE64 () {((( &NS_MD5RSA_MAX_BYTES+2)/3)*4);}' unless defined(&NS_MD5RSA_MAX_BASE64);
    eval 'sub NS_MD5RSA_MIN_SIZE () {(( &NS_MD5RSA_MIN_BITS+7)/8);}' unless defined(&NS_MD5RSA_MIN_SIZE);
    eval 'sub NS_MD5RSA_MAX_SIZE () {(( &NS_MD5RSA_MAX_BITS+7)/8);}' unless defined(&NS_MD5RSA_MAX_SIZE);
    eval 'sub NS_DSA_SIG_SIZE () {41;}' unless defined(&NS_DSA_SIG_SIZE);
    eval 'sub NS_DSA_MIN_SIZE () {213;}' unless defined(&NS_DSA_MIN_SIZE);
    eval 'sub NS_DSA_MAX_BYTES () {405;}' unless defined(&NS_DSA_MAX_BYTES);
    eval 'sub NS_SIG_TYPE () {0;}' unless defined(&NS_SIG_TYPE);
    eval 'sub NS_SIG_ALG () {2;}' unless defined(&NS_SIG_ALG);
    eval 'sub NS_SIG_LABELS () {3;}' unless defined(&NS_SIG_LABELS);
    eval 'sub NS_SIG_OTTL () {4;}' unless defined(&NS_SIG_OTTL);
    eval 'sub NS_SIG_EXPIR () {8;}' unless defined(&NS_SIG_EXPIR);
    eval 'sub NS_SIG_SIGNED () {12;}' unless defined(&NS_SIG_SIGNED);
    eval 'sub NS_SIG_FOOT () {16;}' unless defined(&NS_SIG_FOOT);
    eval 'sub NS_SIG_SIGNER () {18;}' unless defined(&NS_SIG_SIGNER);
    eval 'sub NS_NXT_BITS () {8;}' unless defined(&NS_NXT_BITS);
    eval 'sub NS_NXT_BIT_SET {
        my(  $n,$p) = @_;
	    eval q(($p->[( &n)/ &NS_NXT_BITS] |= (0x80>>(( &n)% &NS_NXT_BITS))));
    }' unless defined(&NS_NXT_BIT_SET);
    eval 'sub NS_NXT_BIT_CLEAR {
        my($n,$p) = @_;
	    eval q(($p->[($n)/ &NS_NXT_BITS] &= ~(0x80>>(($n)% &NS_NXT_BITS))));
    }' unless defined(&NS_NXT_BIT_CLEAR);
    eval 'sub NS_NXT_BIT_ISSET {
        my($n,$p) = @_;
	    eval q(($p->[($n)/ &NS_NXT_BITS] & (0x80>>(($n)% &NS_NXT_BITS))));
    }' unless defined(&NS_NXT_BIT_ISSET);
    eval 'sub NS_NXT_MAX () {127;}' unless defined(&NS_NXT_MAX);
    eval 'sub NS_OPT_DNSSEC_OK () {0x8000;}' unless defined(&NS_OPT_DNSSEC_OK);
    eval 'sub NS_OPT_NSID () {3;}' unless defined(&NS_OPT_NSID);
    eval 'sub NS_GET16 {
        my($s, $cp) = @_;
	    eval q( &do {  &const \'u_char\' * &t_cp = ( &const \'u_char\' *)($cp); ($s) = (( &uint16_t) $t_cp[0] << 8) | (( &uint16_t) $t_cp[1]) ; ($cp) +=  &NS_INT16SZ; }  &while ( 0));
    }' unless defined(&NS_GET16);
    eval 'sub NS_GET32 {
        my($l, $cp) = @_;
	    eval q( &do {  &const \'u_char\' * &t_cp = ( &const \'u_char\' *)($cp); ($l) = (( &uint32_t) $t_cp[0] << 24) | (( &uint32_t) $t_cp[1] << 16) | (( &uint32_t) $t_cp[2] << 8) | (( &uint32_t) $t_cp[3]) ; ($cp) +=  &NS_INT32SZ; }  &while ( 0));
    }' unless defined(&NS_GET32);
    eval 'sub NS_PUT16 {
        my($s, $cp) = @_;
	    eval q( &do {  &uint32_t  &t_s = ( &uint32_t); \'u_char\' * &t_cp = ($cp); * &t_cp++ =  &t_s >> 8; * &t_cp =  &t_s; ($cp) +=  &NS_INT16SZ; }  &while ( 0));
    }' unless defined(&NS_PUT16);
    eval 'sub NS_PUT32 {
        my($l, $cp) = @_;
	    eval q( &do {  &uint32_t  &t_l = ( &uint32_t); \'u_char\' * &t_cp = ($cp); * &t_cp++ =  &t_l >> 24; * &t_cp++ =  &t_l >> 16; * &t_cp++ =  &t_l >> 8; * &t_cp =  &t_l; ($cp) +=  &NS_INT32SZ; }  &while ( 0));
    }' unless defined(&NS_PUT32);
    eval 'sub ns_msg_getflag () { &__ns_msg_getflag;}' unless defined(&ns_msg_getflag);
    eval 'sub ns_get16 () { &__ns_get16;}' unless defined(&ns_get16);
    eval 'sub ns_get32 () { &__ns_get32;}' unless defined(&ns_get32);
    eval 'sub ns_put16 () { &__ns_put16;}' unless defined(&ns_put16);
    eval 'sub ns_put32 () { &__ns_put32;}' unless defined(&ns_put32);
    eval 'sub ns_initparse () { &__ns_initparse;}' unless defined(&ns_initparse);
    eval 'sub ns_skiprr () { &__ns_skiprr;}' unless defined(&ns_skiprr);
    eval 'sub ns_parserr () { &__ns_parserr;}' unless defined(&ns_parserr);
    eval 'sub ns_parserr2 () { &__ns_parserr2;}' unless defined(&ns_parserr2);
    eval 'sub ns_sprintrr () { &__ns_sprintrr;}' unless defined(&ns_sprintrr);
    eval 'sub ns_sprintrrf () { &__ns_sprintrrf;}' unless defined(&ns_sprintrrf);
    eval 'sub ns_format_ttl () { &__ns_format_ttl;}' unless defined(&ns_format_ttl);
    eval 'sub ns_parse_ttl () { &__ns_parse_ttl;}' unless defined(&ns_parse_ttl);
    eval 'sub ns_datetosecs () { &__ns_datetosecs;}' unless defined(&ns_datetosecs);
    eval 'sub ns_name_ntol () { &__ns_name_ntol;}' unless defined(&ns_name_ntol);
    eval 'sub ns_name_ntop () { &__ns_name_ntop;}' unless defined(&ns_name_ntop);
    eval 'sub ns_name_pton () { &__ns_name_pton;}' unless defined(&ns_name_pton);
    eval 'sub ns_name_pton2 () { &__ns_name_pton2;}' unless defined(&ns_name_pton2);
    eval 'sub ns_name_unpack () { &__ns_name_unpack;}' unless defined(&ns_name_unpack);
    eval 'sub ns_name_unpack2 () { &__ns_name_unpack2;}' unless defined(&ns_name_unpack2);
    eval 'sub ns_name_pack () { &__ns_name_pack;}' unless defined(&ns_name_pack);
    eval 'sub ns_name_compress () { &__ns_name_compress;}' unless defined(&ns_name_compress);
    eval 'sub ns_name_uncompress () { &__ns_name_uncompress;}' unless defined(&ns_name_uncompress);
    eval 'sub ns_name_skip () { &__ns_name_skip;}' unless defined(&ns_name_skip);
    eval 'sub ns_name_rollback () { &__ns_name_rollback;}' unless defined(&ns_name_rollback);
    eval 'sub ns_name_length () { &__ns_name_length;}' unless defined(&ns_name_length);
    eval 'sub ns_name_eq () { &__ns_name_eq;}' unless defined(&ns_name_eq);
    eval 'sub ns_name_owned () { &__ns_name_owned;}' unless defined(&ns_name_owned);
    eval 'sub ns_name_map () { &__ns_name_map;}' unless defined(&ns_name_map);
    eval 'sub ns_name_labels () { &__ns_name_labels;}' unless defined(&ns_name_labels);
    eval 'sub ns_sign () { &__ns_sign;}' unless defined(&ns_sign);
    eval 'sub ns_sign2 () { &__ns_sign2;}' unless defined(&ns_sign2);
    eval 'sub ns_sign_tcp () { &__ns_sign_tcp;}' unless defined(&ns_sign_tcp);
    eval 'sub ns_sign_tcp2 () { &__ns_sign_tcp2;}' unless defined(&ns_sign_tcp2);
    eval 'sub ns_sign_tcp_init () { &__ns_sign_tcp_init;}' unless defined(&ns_sign_tcp_init);
    eval 'sub ns_find_tsig () { &__ns_find_tsig;}' unless defined(&ns_find_tsig);
    eval 'sub ns_verify () { &__ns_verify;}' unless defined(&ns_verify);
    eval 'sub ns_verify_tcp () { &__ns_verify_tcp;}' unless defined(&ns_verify_tcp);
    eval 'sub ns_verify_tcp_init () { &__ns_verify_tcp_init;}' unless defined(&ns_verify_tcp_init);
    eval 'sub ns_samedomain () { &__ns_samedomain;}' unless defined(&ns_samedomain);
    eval 'sub ns_subdomain () { &__ns_subdomain;}' unless defined(&ns_subdomain);
    eval 'sub ns_makecanon () { &__ns_makecanon;}' unless defined(&ns_makecanon);
    eval 'sub ns_samename () { &__ns_samename;}' unless defined(&ns_samename);
    eval 'sub ns_newmsg_init () { &__ns_newmsg_init;}' unless defined(&ns_newmsg_init);
    eval 'sub ns_newmsg_copy () { &__ns_newmsg_copy;}' unless defined(&ns_newmsg_copy);
    eval 'sub ns_newmsg_id () { &__ns_newmsg_id;}' unless defined(&ns_newmsg_id);
    eval 'sub ns_newmsg_flag () { &__ns_newmsg_flag;}' unless defined(&ns_newmsg_flag);
    eval 'sub ns_newmsg_q () { &__ns_newmsg_q;}' unless defined(&ns_newmsg_q);
    eval 'sub ns_newmsg_rr () { &__ns_newmsg_rr;}' unless defined(&ns_newmsg_rr);
    eval 'sub ns_newmsg_done () { &__ns_newmsg_done;}' unless defined(&ns_newmsg_done);
    eval 'sub ns_rdata_unpack () { &__ns_rdata_unpack;}' unless defined(&ns_rdata_unpack);
    eval 'sub ns_rdata_equal () { &__ns_rdata_equal;}' unless defined(&ns_rdata_equal);
    eval 'sub ns_rdata_refers () { &__ns_rdata_refers;}' unless defined(&ns_rdata_refers);
    unless(defined(&__LIBC12_SOURCE__)) {
    }
    unless(defined(&__LIBC12_SOURCE__)) {
    }
    if(defined(&BIND_4_COMPAT)) {
	require 'arpa/nameser_compat.ph';
    }
}
1;
