--- title: "Creating the PCAP packet headers for all regular packets and write them into the file" slug: "creating-pcap-packet-headers-regular-packets-write-file-1" tags: ["Integration", "IPS 11.1.x"] updated: 2026-11-19T12:54:23Z published: 2026-11-19T12:54:23Z canonical: "docs.trellix.com/creating-pcap-packet-headers-regular-packets-write-file-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Creating the PCAP packet headers for all regular packets and write them into the file A packet header must be created for every packet. Also capture the source and target ip addresses defined in the first 12 bytes of the regular packet log data. You can use the first one because all packet logs data will have the same information. You may have to use these addresses in fragment PCAP packet headers. First 6 bytes are source and next 6 bytes are target.