pub enum Family {
    INet(Hook),
    Ipv4(HookPriorityBase),
    NetDev(Hook),
    Ipv6(HookPriorityBase),
    Arp(Hook),
}
Expand description

The filter hook families.

Variants

INet(Hook)

IPv4 and IPv6 packets.

Ipv4(HookPriorityBase)

IPv4 packets.

NetDev(Hook)

All packets through a device.

When this family is used, a device must be specified.

Ipv6(HookPriorityBase)

IPv6 packets.

Arp(Hook)

Address resolution protocol (ARP) packets.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.