aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/unity/unity_handler.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-11-13 15:26:10 +0100
committerMartin Willi <martin@revosec.ch>2015-02-20 13:34:49 +0100
commit85b238887d01c030a7d9240db2031601211a6283 (patch)
tree00fc12e7d87c136d4572d69afd98384e2b8e5118 /src/libcharon/plugins/unity/unity_handler.c
parent4ec397b89431576813f9a7511bf297ee312a5878 (diff)
downloadstrongswan-85b238887d01c030a7d9240db2031601211a6283.tar.bz2
strongswan-85b238887d01c030a7d9240db2031601211a6283.tar.xz
child-sa: Replace reqid based marks by "unique" marks
As we now use the same reqid for multiple CHILD_SAs with the same selectors, having marks based on the reqid makes not that much sense anymore. Instead we use unique marks that use a custom identifier. This identifier is reused during rekeying, keeping the marks constant for any rule relying on it (for example installed by updown). This also simplifies handling of reqid allocation, as we do not have to query the marks that is not yet assigned for an unknown reqid.
Diffstat (limited to 'src/libcharon/plugins/unity/unity_handler.c')
0 files changed, 0 insertions, 0 deletions