aboutsummaryrefslogtreecommitdiff
path: root/wireshark
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2021-04-25 11:45:35 +0200
committerGitHub <noreply@github.com>2021-04-25 11:45:35 +0200
commitfad246289f695b37c01e28ed5bc1c99028be7f13 (patch)
treea050e2aed1ddb27450d94719c125076d8c9cbd49 /wireshark
parentb586c223dd6e4ef17174f9874e73b958f0b681c4 (diff)
README for the tshark class
Diffstat (limited to 'wireshark')
-rw-r--r--wireshark/tshark/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/wireshark/tshark/README.md b/wireshark/tshark/README.md
new file mode 100644
index 000000000..738a2cdfa
--- /dev/null
+++ b/wireshark/tshark/README.md
@@ -0,0 +1,14 @@
+# 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
+This this directory you can find simple code examples that show how to use the tshark class including counting packets and flow traffic accounting.