pub trait DatagramParser: Send + 'static {
type Message: Send + 'static;
// Required method
fn parse(&mut self, payload: &[u8], side: FlowSide) -> Vec<Self::Message>;
}Available on crate feature
session only.Expand description
Parses a packet-oriented L7 protocol. One instance per flow; receives one L4 payload at a time along with which side sent it.
Required Associated Types§
Required Methods§
Implementors§
Source§impl DatagramParser for DnsUdpParser
Available on crate feature dns only.
impl DatagramParser for DnsUdpParser
Available on crate feature
dns only.