pub enum DropReason {
Show 16 variants
Packet(Error),
UnsupportedEthertype(EthernetProtocol),
UnsupportedIpProtocol(IpProtocol),
UnsupportedIcmpv6(Icmpv6Message),
UnsupportedDhcp(DhcpMessageType),
UnsupportedArp,
Ipv4Checksum,
SendBufferFull,
Io(Error),
BadTcpState(TcpError),
UnsupportedDhcpv6(MessageType),
UnsupportedNdp(NdpMessageType),
MalformedPacket,
IpLengthMismatch,
FragmentedPacket,
DestinationNotAllowed,
}Expand description
The reason a packet was dropped without being handled.
Variants§
Packet(Error)
The packet could not be parsed.
UnsupportedEthertype(EthernetProtocol)
The ethertype is unknown.
UnsupportedIpProtocol(IpProtocol)
The ethertype is unknown.
UnsupportedIcmpv6(Icmpv6Message)
The ICMPv6 message type is unsupported.
UnsupportedDhcp(DhcpMessageType)
The ARP type is unsupported.
UnsupportedArp
The ARP type is unsupported.
Ipv4Checksum
The IPv4 checksum was invalid.
SendBufferFull
The send buffer is invalid.
Io(Error)
There was an IO error.
BadTcpState(TcpError)
The TCP state is invalid.
UnsupportedDhcpv6(MessageType)
The DHCPv6 message type is unsupported.
UnsupportedNdp(NdpMessageType)
The NDP message type is unsupported.
MalformedPacket
An incoming packet was recognized but was self-contradictory. E.g. a TCP packet with both SYN and FIN flags set.
IpLengthMismatch
The IP total-length field does not match the buffer size.
FragmentedPacket
An incoming IP packet has been split into several IP fragments and was dropped, since IP reassembly is not supported.
DestinationNotAllowed
The destination address is not allowed (e.g., loopback, unspecified, or link-local when host-local access is disabled).