aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/parser.c
Commit message (Collapse)AuthorAgeFilesLines
* Use standard unsigned integer typesAndreas Steffen2016-03-241-32/+32
|
* ike: Only parse payloads valid for the current IKE versionTobias Brunner2014-12-051-1/+20
|
* ike: Rename encryption_payload to encrypted_payloadTobias Brunner2014-10-101-1/+1
|
* encoding: Don't explicitly include <arpa/inet.h>Martin Willi2014-06-041-1/+0
|
* payload: Use common prefixes for all payload type identifiersMartin Willi2014-06-041-9/+9
| | | | | The old identifiers did not use a proper namespace and often clashed with other defines.
* Moved data structures to new collections subfolderTobias Brunner2012-10-241-1/+1
|
* Merge branch 'ikev1'Martin Willi2012-05-021-196/+36
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in man/ipsec.conf.5.in src/libcharon/encoding/generator.c src/libcharon/encoding/payloads/notify_payload.c src/libcharon/encoding/payloads/notify_payload.h src/libcharon/encoding/payloads/payload.c src/libcharon/network/receiver.c src/libcharon/sa/authenticator.c src/libcharon/sa/authenticator.h src/libcharon/sa/ikev2/tasks/ike_init.c src/libcharon/sa/task_manager.c src/libstrongswan/credentials/auth_cfg.c
| * Renamed CONFIGURATION_ATTRIBUTE_LENGTH to streamline it with other ATTRIBUTE ↵Martin Willi2012-03-201-1/+1
| | | | | | | | rules
| * Log parsed unsigned ints with proper format strings.Tobias Brunner2012-03-201-5/+5
| |
| * IKEv1 ConfigMode: Fixed cp_payload to use CONFIGURATION_ATTRIBUTE_V1 in all ↵Clavister OpenSource2012-03-201-0/+1
| | | | | | | | appropriate places, so the parsing is done correctly.
| * Removed redundant '=>' when logging binary data in parser and generator.Tobias Brunner2012-03-201-2/+2
| |
| * Use modified encryption payload to encrypt/decrypt complete IKEv1 messages.Tobias Brunner2012-03-201-0/+10
| |
| * Avoid compiler warnings due to extended enums.Tobias Brunner2012-03-201-1/+1
| |
| * Update header length after each parsed rule, as it might change when parsing ↵Martin Willi2012-03-201-2/+3
| | | | | | | | SPI size
| * Use a generic list encoding rule we can use to specify the wrapped payload typeMartin Willi2012-03-201-37/+9
| |
| * Use a generic encoding type for all variable length chunksMartin Willi2012-03-201-16/+1
| |
| * Implemented IKEv1 hash payloadMartin Willi2012-03-201-0/+1
| |
| * Add a payload.get_header_length() method, remove header length definitionsMartin Willi2012-03-201-232/+55
| |
| * Simplify signature of get_encoding_rules(), make all rules staticMartin Willi2012-03-201-3/+2
| |
| * Extended KE payload for IKEv1 supportMartin Willi2012-03-201-0/+11
| |
| * Added additional IKEv1 payload and encoding identifiersMartin Willi2012-03-201-0/+25
| |
| * Extend sa_payload for IKEv1 supportMartin Willi2012-03-201-0/+12
| |
* | Don't cast second argument of mem_printf_hook (%b) to size_t.Tobias Brunner2012-03-271-1/+1
|/ | | | | | | | | | | | | Also treat the given number as unsigned int. Due to the printf hook registration the second argument of mem_printf_hook (if called via printf etc.) is always of type int*. Casting this to a size_t pointer and then dereferencing that as int does not work on big endian machines if int is smaller than size_t (e.g. on ppc64). In order to make this change work if the argument is of a type larger than int, size_t for instance, the second argument for %b has to be casted to (u_)int.
* Migrated parser_t to INIT/METHOD macros.Tobias Brunner2011-10-041-35/+23
|
* Reserved field get parsed/generated like any other bit/byte fieldMartin Willi2011-01-051-26/+2
|
* Use the payloads actual type in unknown_payload_tMartin Willi2011-01-051-6/+0
|
* Moving charon to libcharon.Tobias Brunner2010-03-191-0/+862