Enum windivert::WinDivertParsedPacket [−][src]
pub enum WinDivertParsedPacket<'a> {
Network {
addr: WinDivertNetworkData<'a>,
data: Vec<u8>,
},
Flow {
addr: WinDivertFlowData<'a>,
},
Socket {
addr: WinDivertSocketData<'a>,
},
Reflect {
addr: WinDivertReflectData<'a>,
filter: Vec<u8>,
},
}
Expand description
Parsed packet type.
Variants
Network
Fields
addr: WinDivertNetworkData<'a>
WinDivert data associated with the packet.
Packet type returned by handles using WinDivertLayer::Network
.
Flow
Fields
addr: WinDivertFlowData<'a>
WinDivert data associated with the packet.
Packet type returned by handles using WinDivertLayer::Flow
.
Socket
Fields
addr: WinDivertSocketData<'a>
WinDivert data associated with the packet.
Packet type returned by handles using WinDivertLayer::Socket
.
Reflect
Fields
addr: WinDivertReflectData<'a>
WinDivert data associated with the packet.
Packet type returned by handles using WinDivertLayer::Reflect
.
Trait Implementations
Performs the conversion.