[ADD] packet_io framework

This commit is contained in:
liuwentan
2022-07-26 15:05:14 +08:00
parent da47b80442
commit 82a97ff067
16 changed files with 516 additions and 46 deletions

16
src/app.toml Normal file
View File

@@ -0,0 +1,16 @@
[THREAD]
thread_num = 1
[PACKET_IO]
"""
example1:
run_mode = pcap_live
interface = [eth0, eth1]
"""
run_mode = pcap_live # three mode: pcap_file/pcap_live/marsio
interface = [eth0, eth1]