blob: 7c5940b907718b3b15d33b9cee6e9216d0036ca5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*!
# SAWP: Security Aware Wire Protocol parsing library
This library contains parsers for various wire protocols
and is intended to be used in network security sensors.
The base library contains all of the common types and traits
used by the parsers.
Usage documentation can be found in the [README](https://github.com/CybercentreCanada/sawp/blob/main/README.md).
## Protocols
Each protocol, along with certain features, are implemented
in a separate package inside this workspace. This reduces the
number dependencies needed for using various protocols or
features. A practical use of this library can be found by
referring to the protocol parser you wish to use:
- [Diameter](/sawp-diameter)
- [Json](/sawp-json)
- [Modbus](/sawp-modbus)
## Utility
The following utility packages also exist:
- [File](/sawp-file) Serializes API calls for debugging
*/
#![allow(clippy::unneeded_field_pattern)]
/// Return common errors
pub mod error;
/// Parse Messages
pub mod parser;
/// Probe Bytes
pub mod probe;
/// Describe a Protocol
pub mod protocol;
#[cfg(feature = "ffi")]
pub mod ffi;
|