pub enum NetworkRequest {
GetInterfaceConfig,
SendPacket(DevicePacket),
ReceivePackets,
SetPromiscuous(bool),
}Expand description
Network operation requests
Variants§
GetInterfaceConfig
Get interface configuration
SendPacket(DevicePacket)
Send a packet
ReceivePackets
Receive packets (non-blocking)
SetPromiscuous(bool)
Set promiscuous mode