aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/ipsec
Commit message (Collapse)AuthorAgeFilesLines
* ipsec: Add function to compare two ipsec_sa_cfg_t instancesTobias Brunner2016-06-082-0/+25
| | | | | | memeq() is currently used to compare these but if there is padding that is not initialized the same for two instances the comparison fails. Using this function ensures the objects are compared correctly.
* Use standard unsigned integer typesAndreas Steffen2016-03-241-10/+10
|
* ipsec-types: Support the %unique mark valueMartin Willi2015-02-201-1/+9
|
* child-sa: Replace reqid based marks by "unique" marksMartin Willi2015-02-201-2/+2
| | | | | | | | | | | 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.
* ipsec: Add a fourth priority class for bypass policiesTobias Brunner2014-06-191-1/+3
|
* child-sa: Pass the number of total policies tied to an SA to the kernelMartin Willi2014-06-041-0/+2
| | | | | This will be useful if the kernel backend has to know how many policies follow an SA install, for example if it must install all policies concurrently.
* Doxygen fixesTobias Brunner2013-10-151-1/+1
|
* ipsec_types: Add utility function to parse mark_t from stringsTobias Brunner2013-10-112-2/+46
|
* Moved types used by kernel_ipsec_t interface (and libipsec) to libstrongswanTobias Brunner2012-08-082-0/+210
This avoids a dependency of libipsec to libhydra.