Skip to main content

DefaultL2Reader

Type Alias DefaultL2Reader 

Source
pub type DefaultL2Reader = L2Receiver;
Expand description

The default L2 frame reader for the current platform.

  • Linux: linux::L2Receiver (AF_PACKET)
  • macOS: [macos::BpfReader] (BPF)
  • Windows: [windows::NpcapReader] (NPcap)

Aliased Type§

pub struct DefaultL2Reader { /* private fields */ }