opnsense-src/include/rpc
Gleb Smirnoff c62ae124cc rpc: limited multithread support for svc_nl
The rpc(3) itself was not designed with multithreading in mind, but we can
actually achieve some parallelism without modifying the library and the
framework.  This transport will allow to process RPCs in threads, with
some hacks on the application side (documented in code).  We make
reentrable only one method - SVC_REPLY().  Reading and parsing of incoming
calls is still done synchronously.  But the actual processing of the calls
can be offloaded to a thread, and once finished the thread can safely
execute svc_sendreply() and the reply would be sent with the correct xid.

Differential Revision:	https://reviews.freebsd.org/D48569
2025-02-01 01:00:28 -08:00
..
auth.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
auth_des.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
auth_kerb.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
auth_unix.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
clnt.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
clnt_soc.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
clnt_stat.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
des.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
des_crypt.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
Makefile krpc: add kernel side client over netlink(4) 2025-02-01 01:00:25 -08:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
nettype.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
pmap_clnt.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
pmap_prot.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
pmap_rmt.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
raw.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rpc.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rpc_com.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rpc_msg.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rpcb_clnt.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rpcb_prot.x sccs: Manual changes 2023-11-26 22:23:58 -07:00
rpcent.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rpcsec_gss.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
svc.h rpc: limited multithread support for svc_nl 2025-02-01 01:00:28 -08:00
svc_auth.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
svc_dg.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
svc_soc.h include: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
xdr.h rpc: Fix the definition of xdr_void() 2024-10-30 19:27:18 +00:00