[strongSwan-dev] configurable SPI-range in charon

Thomas Egerer thomas.egerer at secunet.com
Fri Mar 19 08:46:53 CET 2010


Hello *,

I required to make the SPI-range used by charon configureable. I've
appended the patch required to this mail. To achieve this I had to
introduce a new getter for the settings library in charon for an
unsigned int value (using strtoul). I took the liberty and added quite a
bunch of these getters for different sizes/signendness. I also migrated
settings_t to the new INIT/METHOD macros.
Feel free to apply the patches.

Kind regards,

Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-getter-for-int-types-differing-in-size-signedness.patch
Type: text/x-patch
Size: 9096 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20100319/c4663219/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Migrated-settings_t-to-METHOD-INIT-macros.patch
Type: text/x-patch
Size: 9039 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20100319/c4663219/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-allow-spi-range-configuration-from-userspace.patch
Type: text/x-patch
Size: 4898 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20100319/c4663219/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20100319/c4663219/attachment.pgp>


More information about the Dev mailing list