Deep Packet Inspection (DPI) is an advanced method of examining and managing network traffic. It involves inspecting the data part (and possibly also the header) of a packet as it passes an inspection point. DPI can identify, classify, block, or reroute packets with specific data or code payloads.