# `MaeBPF.Plugs.DropInvalid`
[🔗](https://github.com/cocoa-xu/MaeBPF/blob/v0.1.0/maebpf/lib/maebpf/plugs/drop_invalid.ex#L1)

Drops frames shorter than 14 bytes (Ethernet header) or malformed IPv4
packets (`ethertype == 0x0800` with fewer than 34 bytes or `ihl < 5`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
