Skip to content
Snippets Groups Projects
Commit 893c3a1a authored by NGUYEN Do Duc Anh's avatar NGUYEN Do Duc Anh
Browse files

update packet size to increase number of packet sent

parent baff3390
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ def generate_and_send_traffic_matrix():
if src_ip != dest_ip:
with open(file_path, "w") as file:
dest_port = listen_port_map[dest_ip]
command = f"-T {PROTO} -a {dest_ip} -rp {dest_port} -O {mean_rate} -o 1400 -t {TIME_GENERATE}"
command = f"-T {PROTO} -a {dest_ip} -rp {dest_port} -O {mean_rate} -o 512 -t {TIME_GENERATE}"
listen_port_map[dest_ip] += 1
file.write(f"{src_ip} {command}\n")
print(command)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment