freebsd-src/lib/libipsec
Lexi Winter 50ecbc5142 libipsec: make const-correct
- add const to the appropriate places in the libipsec public API and the
  relevant internal functions needed to support that.

- replace caddr_t with c_caddr_t in ipsec_dump_policy()

- update the ipsec_dump_policy manpage to use c_caddr_t (this manpage
  was already wrong as it had "char *" instead of caddr_t previously).

While here, update pfkeyv2.h to not cast away const in the PFKEY_*()
macros.

This should not cause any ABI changes as the actual types have not
changed.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1099
2024-04-22 22:36:34 -06:00
..
ipsec_dump_policy.c libipsec: make const-correct 2024-04-22 22:36:34 -06:00
ipsec_get_policylen.c libipsec: make const-correct 2024-04-22 22:36:34 -06:00
ipsec_set_policy.3 libipsec: make const-correct 2024-04-22 22:36:34 -06:00
ipsec_strerror.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
ipsec_strerror.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ipsec_strerror.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
libpfkey.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pfkey_dump.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pfkey.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
policy_parse.y libipsec: make const-correct 2024-04-22 22:36:34 -06:00
policy_token.l Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
test-policy.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00