diff options
| author | liuwentan <[email protected]> | 2022-08-10 10:20:12 +0800 |
|---|---|---|
| committer | liuwentan <[email protected]> | 2022-08-10 10:20:12 +0800 |
| commit | a93ffa9078634b060d388b0767ac9352d3576163 (patch) | |
| tree | 1a6467554fb44f0b2e0ab6b890553cd87ee3ea77 /src/app.toml | |
| parent | 873b25794bb155a26abf28e59b8cd0cc36362031 (diff) | |
[PACKET_IO]format code style
Diffstat (limited to 'src/app.toml')
| -rw-r--r-- | src/app.toml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/app.toml b/src/app.toml index ac30016..83a8f4b 100644 --- a/src/app.toml +++ b/src/app.toml @@ -5,12 +5,15 @@ thread_num = 1 [PACKET_IO] """ example1: - run_mode = pcap_live interface = [eth0, eth1] +example2: +run_mode = marsio +work_thread_num = 10 # Prompt marsio how many threads to start to receive packets +interface = [eth0] - -""" -run_mode = pcap_live # three mode: pcap_file/pcap_live/marsio -interface = [eth0, eth1] +example3: +run_mode = pcap_file +pcap_file_path = /tmp/pcapfile/001.pcap # if single file, specify dir+filename; if pcapfile directory, specify dir +"""
\ No newline at end of file |
