Commit Graph

11 Commits (df88c048bafb6b96ecaab4f468c6f4063be4f15c)

Author SHA1 Message Date
Jason Ish da4912dfe7 rust: add get_tx_iterator to parser registration 7 years ago
Pierre Chifflier 2d1c4420de Update ntp-parser to 0.2.0 7 years ago
Pierre Chifflier b810275b16 Rust: fix prototype of parsing function (make pstate mutable) 7 years ago
Jason Ish c411519605 app-layer: remove has events callback - not used 8 years ago
Pierre Chifflier 92b537d028 rust: update 'external' api for app layer changes
Remove unused HasTxDetectState function and remove state argument
from SetTxDetectState.

Update NTP code.
8 years ago
Pierre Chifflier 4b6555588f NTP: ensure parser name is not freed after registration 8 years ago
Pierre Chifflier 5c6868b327 NTP: update logger to use new API 8 years ago
Pierre Chifflier f5b27ae767 Rust: fix probing function prototype: change sign and add Flow 8 years ago
Pierre Chifflier 83808bbdad rust/ntp: convert parser to new registration method
Converting the NTP parser to the new registration method is a simple,
3-steps process:
- change the extern functions to use generic input parameters (functions
  in all parsers must share common types to be generic) and cast them
- declare the Parser structure
- remove the C code and call the registration function
8 years ago
Pierre Chifflier 8a0549c42e NTP: change parse function to return the number of parsed messages 8 years ago
Pierre Chifflier efe11dc37e Add NTP parser (rust-experimental) 8 years ago