mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-28 15:09:47 +00:00
| .. | ||
| lib | ||
| count_tcp_example.lua | ||
| flows_example.lua | ||
| README.md | ||
Tshark Lua Class
This directory implements a Lua class that leverages on tshark for parsing packets
Lib
This directory contains the implementation of the tshark class that contains three simple and self-explanatory methods:
- function tshark:open(pcap_file_or_dev, filter)
- function tshark:close()
- function tshark:read()
Examples
In this directory you can find simple code examples that show how to use the tshark class including counting packets and flow traffic accounting.