diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-08-13 02:11:10 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-09-21 09:50:06 +0200 |
commit | e7dd63060e448bf6667c92a3b774cec0feeff452 (patch) | |
tree | c00b4dfe777d74b60cf6c4f6141a45c0a3176f48 /die.h | |
parent | 6197f02044e2fe6689b52dad0a0c75bdc0eb185b (diff) |
trafgen: proto: Update field value at runtime
Add basic infrastructure for update proto field value at runtime by
dynamic field function.
Extended 'struct packet_dyn' with proto fields which has dynamically
changing values at runtime.
Added 'field_changed' callback for proto header which may be used for
check if csum updating is needed. This callback is called after field
was changed at runtime.
Added 'packet_update' callback to let proto header know when to apply
final proto header changes at runtime (e.g. - csum update).
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'die.h')
0 files changed, 0 insertions, 0 deletions