acadia-newlib/newlib/libc
John Baldwin 12fb531a70 Add a TOE KTLS mode and a TOE hook for allocating TLS sessions.
This adds the glue to allocate TLS sessions and invokes it from
the TLS enable socket option handler.  This also adds some counters
for active TOE sessions.

The TOE KTLS mode is returned by getsockopt(TLSTX_TLS_MODE) when
TOE KTLS is in use on a socket, but cannot be set via setsockopt().

To simplify various checks, a TLS session now includes an explicit
'mode' member set to the value returned by TLSTX_TLS_MODE.  Various
places that used to check 'sw_encrypt' against NULL to determine
software vs ifnet (NIC) TLS now check 'mode' instead.

Reviewed by:	np, gallatin
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D21891
2022-07-11 11:52:46 +02:00
..
argz newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
ctype newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
errno newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
iconv iconv: Fix EL/IX level 2 handling 2022-03-21 11:32:59 +01:00
include cdefs.h: Remove redundant #ifdefs 2022-07-11 11:52:46 +02:00
locale newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
machine Remove _global_impure_ptr indirection 2022-05-04 17:31:04 +02:00
misc Remove __sinit_locks / __sinit_recursive_mutex 2022-05-13 12:31:56 +02:00
posix Cygwin: simplify some function names 2022-05-29 17:45:52 -04:00
reent Use global stdio streams for all configurations 2022-06-10 20:13:52 +02:00
search newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
signal newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
ssp newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
stdio Cygwin: stdio: don't try again to read after EOF 2022-07-04 18:55:08 -04:00
stdio64 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
stdlib Use global atexit data for all configurations 2022-05-18 07:45:09 +02:00
string newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sys Add a TOE KTLS mode and a TOE hook for allocating TLS sessions. 2022-07-11 11:52:46 +02:00
syscalls newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
time Modify tzset_r.c to handle errors 2022-05-27 11:05:11 -04:00
unix newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
xdr newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
Makefile.inc Silence xsltproc when writing manpages 2022-05-04 17:05:52 -04:00
Makefile.unidata cleanup Unicode data files after generating updated tables 2021-11-16 11:24:29 +01:00
acinclude.m4 newlib: drop phoenix support 2022-03-28 23:17:06 -04:00
libc.in.xml Generate manpages for functions in chapter sys.tex 2022-05-04 17:06:19 -04:00
libc.texi newlib: libc: include all chapters all the time in the manual 2022-02-04 19:39:09 -05:00
sys.tex Don't include stdio64 functions in reentrant syscalls menu when not bulding stdio64. 2015-08-03 09:54:33 +01:00