freebsd-src/sys/rpc
Gleb Smirnoff ee507b70f1 netlink: refactor KPI for generic Netlink modules
Now that the family and group are completely private to netlink_generic.c,
provide a simple and robust KPI, that would require very simple guarantees
from both KPI and the module:

* Strings are used only for family and group registration, that return ID:
  uint16_t genl_register_family(const char *name, ...
  uint32_t genl_register_group(uint16_t family, const char *name, ...
* Once created families and groups are guaranteed to not disappear and
  be addressable by their ID.
* All subsequent calls, including deregistration shall use ID.

Reviewed by:		kp
Differential Revision:	https://reviews.freebsd.org/D48845
2025-02-05 10:09:06 -08:00
..
rpcsec_gss xdr: provide x_putmbuf method for kernel XDR 2025-02-01 01:00:25 -08:00
rpcsec_tls rpcsec_tls: do not create an RPC client per vnet 2025-02-01 11:13:45 -08:00
auth.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
auth_none.c xdr: provide x_putmbuf method for kernel XDR 2025-02-01 01:00:25 -08:00
auth_unix.c xdr: provide x_putmbuf method for kernel XDR 2025-02-01 01:00:25 -08:00
authunix_prot.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
clnt.h krpc: add kernel side client over netlink(4) 2025-02-01 01:00:25 -08:00
clnt_bck.c rpc: use new macros to lock socket buffers 2024-04-09 09:17:19 -07:00
clnt_dg.c rpc: use new macros to lock socket buffers 2024-04-09 09:17:19 -07:00
clnt_nl.c netlink: refactor KPI for generic Netlink modules 2025-02-05 10:09:06 -08:00
clnt_nl.h krpc: add kernel side client over netlink(4) 2025-02-01 01:00:25 -08:00
clnt_rc.c rpcsec_tls/client: API refactoring between kernel and rpc.tlsclntd(8) 2025-02-01 01:00:27 -08:00
clnt_stat.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
clnt_vc.c rpcsec_tls/client: API refactoring between kernel and rpc.tlsclntd(8) 2025-02-01 01:00:27 -08:00
getnetconfig.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
krpc.h krpc/clnt_nl: filter RPC replies on vnet 2025-02-01 11:27:22 -08:00
netconfig.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
nettype.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
pmap_prot.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
replay.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
replay.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
rpc.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rpc_callmsg.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rpc_com.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rpc_generic.c krpc: add kernel side client over netlink(4) 2025-02-01 01:00:25 -08:00
rpc_msg.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rpc_prot.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rpcb_clnt.c krpc: let the kernel talk to the rpcbind(8) service via netlink(4) 2025-02-01 01:00:26 -08:00
rpcb_clnt.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rpcb_prot.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rpcb_prot.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rpcm_subs.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rpcsec_gss.h nfscl/kgssapi: Fix Kerberized NFS mounts to pNFS servers 2023-10-23 13:21:14 -07:00
rpcsec_tls.h rpcsec_tls: cleanup the rpctls_syscall() 2025-02-01 01:00:28 -08:00
svc.c svc.c: Check for a non-NULL xp_socket 2024-05-27 19:22:04 -07:00
svc.h rpcsec_tls/server: API refactoring between kernel and rpc.tlsservd(8) 2025-02-01 01:00:27 -08:00
svc_auth.c nfs, rpc: Ensure kernel credentials have at least one group 2024-11-02 21:37:42 +01:00
svc_auth.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
svc_auth_unix.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
svc_dg.c xdr: provide x_putmbuf method for kernel XDR 2025-02-01 01:00:25 -08:00
svc_generic.c rpc: remove svc_create(), it is not used 2025-01-08 20:00:12 -08:00
svc_vc.c rpcsec_tls/server: API refactoring between kernel and rpc.tlsservd(8) 2025-02-01 01:00:27 -08:00
types.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
xdr.h xdr: provide x_putmbuf method for kernel XDR 2025-02-01 01:00:25 -08:00