Deep Packet Inspection (DPI) is the technology that refers to devices and technologies that inspect and take action based on the contents of the packet "payload" rather than just the packet header. Once DPI algorithms determine what content is in the payload, traffic information can be logged and actions triggered in network elements as necessary depending on the application. These functions need to happen in real-time in order to evaluate and act on service heuristics or generate billing information.