suricata/rust/derive/src
Jason Ish ab6dcb3fc1 app-layer: use uint8_t consistent for event IDs
Introduce a common function for mapping names to IDs that performs
bounds checking.

Note: For event IDs in the enum that are larger than a uint8_t, -1
will be returned instead of -4. -4 has special meaning during
signature parsin that means requirements were not met. -4 has no
special handling prior to requirements, or the meaning has been lost.
2024-10-24 09:35:26 +02:00
..
applayerevent.rs app-layer: use uint8_t consistent for event IDs 2024-10-24 09:35:26 +02:00
applayerframetype.rs rust: derive macro for app-layer frame type 2022-01-17 21:44:04 +01:00
lib.rs detect/integer: rust derive for enumerations 2024-01-30 09:35:17 +01:00
stringenum.rs rust/derive: string enumeration become case insensitive 2024-07-16 06:43:03 +02:00