Optimization #7762
open
- Copied from Bug #7667: rust: move extern C definitions to suricata_sys and bindgen added
applayer.rs and frames.rs share the same problem : we want to bindgen a C function like `AppLayerFrameNewByRelativeOffset` which uses as argument of type `StreamSlice` which is defined in rust
This is going to be the difficult part.
There are some easier things to do first
- Blocks Feature #7666: rust: zero-dependency crate suricata-core added
- Tracker changed from Bug to Optimization
- Related to Optimization #4517: cbindgen export the constants from Rust to C, also for macro such as BIT_U8(1), and remove duplicate definitions between rust and C added
Also available in: Atom
PDF