bind9/lib/isc/include/isc
Evan Hunt a78af2f1d3 refactor tcpquota and pipeline refs; allow special-case overrun in isc_quota
- if the TCP quota has been exceeded but there are no clients listening
  for new connections on the interface, we can now force attachment to the
  quota using isc_quota_force(), instead of carrying on with the quota not
  attached.
- the TCP client quota is now referenced via a reference-counted
  'ns_tcpconn' object, one of which is created whenever a client begins
  listening for new connections, and attached to by members of that
  client's pipeline group. when the last reference to the tcpconn
  object is detached, it is freed and the TCP quota slot is released.
- reduce code duplication by adding mark_tcp_active() function
- convert counters to stdatomic

(cherry picked from commit a8dd133d270873b736c1be9bf50ebaa074f5b38f)
(cherry picked from commit 4a8fc979c4)
2019-04-25 16:20:50 +02:00
..
aes.h Make OpenSSL mandatory 2018-07-19 12:47:03 -04:00
app.h complete removal of a few unneeded functions 2018-10-18 09:19:12 +00:00
assertions.h Remove support for compiling without assertions (Both ISC_CHECK_ALL, ISC_CHECK_NONE are now gone) 2019-01-31 11:16:08 +01:00
atomic.h Add atomic_store_relaxed and atomic_load_relaxed macros to isc/atomic.h, fix issues in isc/stdatomic.h 2019-01-25 04:26:49 -05:00
backtrace.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
base32.h Ensure base64/base32/hex fields in DNS records that should be non-empty are. 2019-01-09 18:04:21 +11:00
base64.h Ensure base64/base32/hex fields in DNS records that should be non-empty are. 2019-01-09 18:04:21 +11:00
bind9.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
buffer.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
bufferlist.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
commandline.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
counter.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
crc64.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
deprecated.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
errno.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
error.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
event.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
eventclass.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
file.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
formatcheck.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
fsaccess.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
fuzz.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
hash.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
heap.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
hex.h Ensure base64/base32/hex fields in DNS records that should be non-empty are. 2019-01-09 18:04:21 +11:00
hmac.h remove config.h references 2018-10-30 10:42:41 -07:00
ht.h add missing DBC checks for catz and add isc_magic checks; add DBC checks to ht.c 2018-11-29 12:39:20 +11:00
httpd.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
interfaceiter.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
iterated_hash.h Add generic message digest API (isc_md) to replace specific MD functions md5/sha1/sha256 2018-10-25 08:15:42 +02:00
json.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
lang.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
lex.h document eol 2018-10-30 11:03:02 +11:00
lfsr.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
lib.h Remove message catalogs 2019-01-09 23:44:26 +01:00
likely.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
list.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
log.h Remove message catalogs 2019-01-09 23:44:26 +01:00
magic.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
Makefile.in Moved the unix version to lib/isc/unix/include/isc so it's more obvious in the future that it isn't the only copy 2019-01-30 09:37:38 +01:00
md.h remove config.h references 2018-10-30 10:42:41 -07:00
mem.h Remove isc_mem_{set,get}quota unused functions 2018-11-22 16:46:56 +01:00
meminfo.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
mutexblock.h - Make isc_mutex_destroy return void 2018-11-22 11:52:08 +00:00
netaddr.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
netscope.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
nonce.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
os.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
parseint.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
platform.h.in Drop ISC_PLATFORM_USEDECLSPEC and IRS_PLATFORM_USEDECLSPEC as they are platform dependent and only unix vs win32 platform.h header difference is enough 2018-09-07 12:17:30 +02:00
pool.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
portset.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
print.h Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants 2018-08-08 09:36:44 +02:00
queue.h - Make isc_mutex_destroy return void 2018-11-22 11:52:08 +00:00
quota.h refactor tcpquota and pipeline refs; allow special-case overrun in isc_quota 2019-04-25 16:20:50 +02:00
radix.h Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool 2018-11-08 12:21:53 +07:00
random.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
ratelimiter.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
refcount.h Just #define isc_refcount_increment0() to isc_refcount_increment() 2018-12-05 14:16:41 +01:00
regex.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
region.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
resource.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
result.h Handle EDQUOT and ENOSPC errors 2019-03-07 21:23:39 -08:00
resultclass.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
rwlock.h Remove isc_atomic usage from rwlock.c and stats.c 2018-08-28 12:15:39 +02:00
safe.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
serial.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
sockaddr.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
socket.h Add runtime detection of SO_REUSEPORT, use it instead of dup() if available. 2018-11-15 08:21:17 +00:00
stats.h Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-08 09:37:28 +02:00
stdio.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
strerr.h remove config.h references 2018-10-30 10:42:41 -07:00
string.h Replace platform ISC_PLATFORM_NEEDSTRLCPY and ISC_PLATFORM_NEEDSTRLCAT with AC_CHECK_FUNCS call 2018-09-07 12:17:30 +02:00
symtab.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
task.h - isc_task_create_bound - create a task bound to specific task queue 2018-11-23 04:34:02 -05:00
taskpool.h Replace custom isc_boolean_t with C standard bool type 2018-08-08 09:37:30 +02:00
timer.h complete removal of a few unneeded functions 2018-10-18 09:19:12 +00:00
tm.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
types.h Remove message catalogs 2019-01-09 23:44:26 +01:00
util.h On non-GNUC systems, use uintmax_t in the ISC_ALIGN macro 2019-04-18 13:17:21 +02:00
version.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00
xml.h Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 13:17:46 +02:00