]> git.ipfire.org Git - people/ms/suricata.git/commit - rust/src/krb/krb5.rs
app-layer: add ApplyTxConfig API
authorVictor Julien <victor@inliniac.net>
Sun, 7 Jun 2020 11:42:09 +0000 (13:42 +0200)
committerVictor Julien <victor@inliniac.net>
Sat, 11 Jul 2020 06:37:40 +0000 (08:37 +0200)
commit5665fc830132a0359e01919dc054dbdcd85decdb
treec8a0121a5c41ac27286d417ba3d2127c57bd3631
parentdf272054512207d2033aaf03ce7b702528d8ceb3
app-layer: add ApplyTxConfig API

Optional callback a parser can register for applying configuration
to the 'transaction'. Most parsers have a bidirectional tx. For those
parsers that have different types of transaction handling, this new
callback can be used to properly apply the config.
16 files changed:
rust/src/applayer.rs
rust/src/applayertemplate/template.rs
rust/src/dhcp/dhcp.rs
rust/src/dns/dns.rs
rust/src/ikev2/ikev2.rs
rust/src/krb/krb5.rs
rust/src/ntp/ntp.rs
rust/src/rdp/rdp.rs
rust/src/rfb/rfb.rs
rust/src/sip/sip.rs
rust/src/snmp/snmp.rs
rust/src/ssh/ssh.rs
src/app-layer-parser.c
src/app-layer-parser.h
src/app-layer-register.c
src/app-layer-register.h