vici: Increase vici message length header from 16 to 32 bits
authorMartin Willi <martin@revosec.ch>
Tue, 29 Apr 2014 15:08:50 +0000 (17:08 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 7 May 2014 12:13:38 +0000 (14:13 +0200)
commit3a9a46c20fb82d338ecf231b517083f9a53d9bbd
tree936de16f53a72098f0d08d695d81c08ef4b19395
parent7dbf9e1574f534e2724964f8e418711e830fee04
vici: Increase vici message length header from 16 to 32 bits

While we currently have no need for messages larger than 65KB, we should design
the protocol to be future-proof, as we plan to keep at least to lowest protocol
layer stable.

To avoid any allocation issues, we currently keep the message size limit at
512KB.
src/libcharon/plugins/vici/README.md
src/libcharon/plugins/vici/libvici.c
src/libcharon/plugins/vici/suites/test_socket.c
src/libcharon/plugins/vici/vici_socket.c
src/libcharon/plugins/vici/vici_socket.h