]> git.ipfire.org Git - thirdparty/strongswan.git/commit
child-sa: Move unique mark allocation to a separate helper function
authorMartin Willi <martin@strongswan.org>
Fri, 16 Feb 2024 09:42:43 +0000 (10:42 +0100)
committerMartin Willi <martin@strongswan.org>
Fri, 16 Feb 2024 09:42:43 +0000 (10:42 +0100)
commitdde40bcb9eedcb8b3d42c49aa29f98833ba3f720
treeca24d63a8cdde7370c7487eb4de3b1ef1946ff27
parent4aac88fadd7053ae15a4ff3e9039d979d8141211
child-sa: Move unique mark allocation to a separate helper function

This aligns the code with unique interface ID allocation, which uses a helper
function for the same purpose and mechanic as well.
src/libcharon/sa/child_sa.c
src/libstrongswan/ipsec/ipsec_types.c
src/libstrongswan/ipsec/ipsec_types.h
src/libstrongswan/tests/suites/test_utils.c