1
2
3
4
5
6
7
8
9
10
11
/// Data link type associated with packets processed by the firewall.
///
/// If not specified, Ethernet will be used.
#[derive(Default, Copy, Clone, Debug, PartialEq)]
pub enum DataLink {
    /// Suitable for packets starting with an Ethernet header.
    #[default]
    Ethernet,
    /// Suitable for packets starting with an IPv4 or IPv6 header.
    RawIP,
}