aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/parser.c
Commit message (Collapse)AuthorAgeFilesLines
* 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