An example of use of the nDPI library
The first step is download and compile the nDPI library:
cd ndpi_exmaple
svn co https://svn.ntop.org/svn/ntop/trunk/nDPI
cd nDPI
./configure –with-pic
make
cd ..
The second and last step is to compile ndpiex:
make
./ndpiex -f file.pcap