]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust/core: Add flow flags
authorShivani Bhardwaj <shivanib134@gmail.com>
Mon, 21 Jun 2021 11:06:42 +0000 (16:36 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Thu, 5 Aug 2021 15:11:08 +0000 (20:41 +0530)
rust/src/core.rs

index 2e773e2cfcf01455e6bc94c1f2987127f37f9420..1745ca57c73003325f683e13c1f1b01fd65a4142 100644 (file)
@@ -64,6 +64,9 @@ macro_rules!BIT_U64 {
     ($x:expr) => (1 << $x);
 }
 
+// Flow flags
+pub const FLOW_DIR_REVERSED: u32 = BIT_U32!(26);
+
 // Defined in app-layer-protos.h
 extern {
     pub fn StringToAppProto(proto_name: *const u8) -> AppProto;