Halfly finished code of lua testsuite.
Finished code to load lua scripts.
why pcap_open_dead filed.
Write the pcap file manually.
Now it's able to save traffic to pcap file.
It looks that Lua test case script works fine.