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
ipsec_strerror.c
ipsec_strerror.h
libpfkey.h
Makefile
Makefile.depend
pfkey_dump.c
pfkey.c
policy_parse.y libipsec: make const-correct 2024-04-22 22:36:34 -06:00
policy_token.l
test-policy.c