Packet Capture A pcap is an application programming interface (API) that captures live network packet data from the OSI model ( layers 2-7). packet capture (pcap) pcap