This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
stellar-stellar/infra/packet_io/test/conf/pcap_io.toml
luwenpeng c2e9275a9e remove session_manager_subscribe_xxx() API; convert session closing events to pseudo packets
when a session is closed, use the packet manager to create a pseudo packet,
    set the session to be closed as packet Exdata, and schedule it to the packet forwarding stage.
    when the pseudo packet free, the session will be free.
2024-11-19 18:28:40 +08:00

19 lines
807 B
TOML

[packet_io]
mode = "pcapfile" # pcapfile, pcaplist, marsio
app_symbol = "stellar"
dev_symbol = "nf_0_fw"
pcap_path = "./pcap/IPv4_frags_UDP.pcap"
pcap_done_exit = 1 # range: [0, 1]
pcap_queue_size = 1024 # range: [1, 4294967295]
thread_num = 1 # range: [1, 256]
cpu_mask = [5, 6, 7, 8, 9, 10, 11, 12]
idle_yield_ms = 900 # range: [0, 60000] (ms)
[packet_io.packet_pool]
capacity = 1024 # range: [1, 4294967295]
[packet_io.ip_reassembly]
fail_action = 1 # 0: bypass, 1: drop
timeout_ms = 1000 # range: [1, 60000] (ms)
frag_queue_num = 1024 # range: [1, 4294967295]
frag_queue_size = 64 # range: [2, 65535]