Orange Applications for Business presents pcap2c. This library will convert captured network traffic as pcap files (with Wireshark or tcpdump tool, for example) into C structures to be embedded directly into a C/C++ source code. This small tool depends on the libpcap component.
pcap2c is now available on Orange-OpenSource GitHub under the BSD 3-Clause license.