summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp>2019-09-10 10:36:15 +0900
committerYasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>2019-09-10 18:07:03 +0900
commitafe5b729206a4c89b6c368addbc904e0cbe3bc1b (patch)
tree32c0dc780bedc627e631136ccf402d14598652f3
parentde28e154865aa65fc1c9f17d129bd8ab2a0cffcd (diff)
downloadspp-afe5b729206a4c89b6c368addbc904e0cbe3bc1b.zip
spp-afe5b729206a4c89b6c368addbc904e0cbe3bc1b.tar.gz
spp-afe5b729206a4c89b6c368addbc904e0cbe3bc1b.tar.xz
recipes: add spp_pcap usecases
This patch is to add recipe scripts for usecases of spp_pcap in docs. Signed-off-by: Hideyuki Yamashita <yamashita.hideyuki@po.ntt-tx.co.jp> Signed-off-by: Naoki Takada <ntakada14@gmail.com> Acked-by: Yasufumi Ogawa <yasufum.o@gmail.com>
-rw-r--r--recipes/usecases/spp_pcap/capture/1_start_capture.rcps5
-rw-r--r--recipes/usecases/spp_pcap/capture/2_stop_capture.rcps5
2 files changed, 10 insertions, 0 deletions
diff --git a/recipes/usecases/spp_pcap/capture/1_start_capture.rcps b/recipes/usecases/spp_pcap/capture/1_start_capture.rcps
new file mode 100644
index 0000000..1ebea35
--- /dev/null
+++ b/recipes/usecases/spp_pcap/capture/1_start_capture.rcps
@@ -0,0 +1,5 @@
+# Pre status check
+pcap 1; status
+
+# Start capture
+pcap 1; start
diff --git a/recipes/usecases/spp_pcap/capture/2_stop_capture.rcps b/recipes/usecases/spp_pcap/capture/2_stop_capture.rcps
new file mode 100644
index 0000000..285b1df
--- /dev/null
+++ b/recipes/usecases/spp_pcap/capture/2_stop_capture.rcps
@@ -0,0 +1,5 @@
+# Stop capture
+pcap 1; stop
+
+# Exit spp_pcap
+pcap 1; exit