|
|
|
|
@ -104,11 +104,9 @@ impl Drop for AppLayerTxData {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// need to keep in sync with C flow.h
|
|
|
|
|
pub const FLOWFILE_NO_STORE_TS: u16 = BIT_U16!(2);
|
|
|
|
|
pub const FLOWFILE_NO_STORE_TC: u16 = BIT_U16!(3);
|
|
|
|
|
pub const FLOWFILE_STORE_TS: u16 = BIT_U16!(12);
|
|
|
|
|
pub const FLOWFILE_STORE_TC: u16 = BIT_U16!(13);
|
|
|
|
|
pub use suricata_ffi::applayer::{
|
|
|
|
|
FLOWFILE_NO_STORE_TS, FLOWFILE_NO_STORE_TC, FLOWFILE_STORE_TS, FLOWFILE_STORE_TC,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
|
pub unsafe extern "C" fn SCTxDataUpdateFileFlags(txd: &mut suricata_sys::sys::AppLayerTxData, state_flags: u16) {
|
|
|
|
|
@ -320,10 +318,9 @@ pub use suricata_ffi::applayer::{
|
|
|
|
|
APP_LAYER_PARSER_BYPASS_READY, APP_LAYER_PARSER_EOF_TC, APP_LAYER_PARSER_EOF_TS,
|
|
|
|
|
APP_LAYER_PARSER_NO_INSPECTION, APP_LAYER_PARSER_NO_INSPECTION_PAYLOAD,
|
|
|
|
|
APP_LAYER_PARSER_NO_REASSEMBLY, APP_LAYER_PARSER_OPT_ACCEPT_GAPS,
|
|
|
|
|
APP_LAYER_TX_SKIP_INSPECT_TS, APP_LAYER_TX_SKIP_INSPECT_TC,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
pub const APP_LAYER_TX_SKIP_INSPECT_TS: u8 = BIT_U8!(0);
|
|
|
|
|
pub const APP_LAYER_TX_SKIP_INSPECT_TC: u8 = BIT_U8!(1);
|
|
|
|
|
pub const _APP_LAYER_TX_INSPECTED_TS: u8 = BIT_U8!(2);
|
|
|
|
|
pub const _APP_LAYER_TX_INSPECTED_TC: u8 = BIT_U8!(3);
|
|
|
|
|
pub const APP_LAYER_TX_ACCEPT: u8 = BIT_U8!(4);
|
|
|
|
|
|