Deep packet analysis or deep packet inspection (DPI) is a type of data processing that inspects the data being sent over a computer network, and may take actions such as blocking, alerting, re-routing, or logging it accordingly. Deep packet analysis is often used to baseline application behavior, analyze network traffic, troubleshoot network performance, and assure that data is in the correct format.