1f08c3bdfSopenharmony_ciThis directory stores the utilities for the network stress tests 2f08c3bdfSopenharmony_ci 3f08c3bdfSopenharmony_ci==== 4f08c3bdfSopenharmony_ci 5f08c3bdfSopenharmony_cicheck_envval 6f08c3bdfSopenharmony_ci Check the environment variable for the network stress test 7f08c3bdfSopenharmony_ci 8f08c3bdfSopenharmony_ciget_ifname 9f08c3bdfSopenharmony_ci Get the interface name which belongs to the specified test link 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_ciinitialize_if 12f08c3bdfSopenharmony_ci Initialize the interface which belongs to the specified test link 13f08c3bdfSopenharmony_ci 14f08c3bdfSopenharmony_ciset_ipv4addr 15f08c3bdfSopenharmony_ci Set an IPv4 address to the interface which belongs to the specified 16f08c3bdfSopenharmony_ci test link 17f08c3bdfSopenharmony_ci 18f08c3bdfSopenharmony_ciadd_ipv6addr 19f08c3bdfSopenharmony_ci Add an IPv6 address to the interface which belongs to the specified 20f08c3bdfSopenharmony_ci test link 21f08c3bdfSopenharmony_ci 22f08c3bdfSopenharmony_cicheck_icmpv4_connectivity 23f08c3bdfSopenharmony_ci Check the ICMPv4 connectivity from a interface to an IPv4 address 24f08c3bdfSopenharmony_ci 25f08c3bdfSopenharmony_cicheck_icmpv6_connectivity 26f08c3bdfSopenharmony_ci Check the ICMPv6 connectivity from a interface to a IPv6 address 27f08c3bdfSopenharmony_ci 28f08c3bdfSopenharmony_cicheck_netem 29f08c3bdfSopenharmony_ci Check the remote host has netem functionality 30f08c3bdfSopenharmony_ci 31f08c3bdfSopenharmony_cicheck_setkey 32f08c3bdfSopenharmony_ci Check the local/remote host has setkey command 33f08c3bdfSopenharmony_ci 34f08c3bdfSopenharmony_cicreate_file 35f08c3bdfSopenharmony_ci Create a file in the specified size 36f08c3bdfSopenharmony_ci 37f08c3bdfSopenharmony_cifind_portbundle 38f08c3bdfSopenharmony_ci Find a bundle of consecutive ports 39f08c3bdfSopenharmony_ci 40f08c3bdfSopenharmony_cikillall_icmp_traffic 41f08c3bdfSopenharmony_ci Kill all of the icmp traffic utilities (ping or ping6) 42f08c3bdfSopenharmony_ci 43f08c3bdfSopenharmony_cikillall_udp_traffic 44f08c3bdfSopenharmony_ci Kill all of the udp traffic utilities (ns-udpserver, ns-udpclient) 45f08c3bdfSopenharmony_ci 46f08c3bdfSopenharmony_cikillall_tcp_traffic 47f08c3bdfSopenharmony_ci Kill all of the tcp traffic utilities (ns-tcpserver, ns-tcpclient) 48f08c3bdfSopenharmony_ci 49f08c3bdfSopenharmony_cioutput_ipsec_conf 50f08c3bdfSopenharmony_ci Output IPsec configuration 51f08c3bdfSopenharmony_ci 52f08c3bdfSopenharmony_cins-echoclient 53f08c3bdfSopenharmony_ci Send various kind of echo request 54f08c3bdfSopenharmony_ci 55f08c3bdfSopenharmony_cins-udpserver (binary) 56f08c3bdfSopenharmony_ci UDP traffic server. 57f08c3bdfSopenharmony_ci Receive UDP datagram from a client, then send it to the client 58f08c3bdfSopenharmony_ci 59f08c3bdfSopenharmony_cins-udpclient (binary) 60f08c3bdfSopenharmony_ci UDP traffic client 61f08c3bdfSopenharmony_ci Send UDP datagram to a server, then receive datagram from it 62f08c3bdfSopenharmony_ci 63f08c3bdfSopenharmony_cins-tcpserver (binary) 64f08c3bdfSopenharmony_ci TCP traffic server. 65f08c3bdfSopenharmony_ci Accept connections from the clients, then send tcp segments to it 66f08c3bdfSopenharmony_ci 67f08c3bdfSopenharmony_cins-tcpclient (binary) 68f08c3bdfSopenharmony_ci TCP traffic client 69f08c3bdfSopenharmony_ci Request connections to the server, then receive tcp segments 70f08c3bdfSopenharmony_ci 71f08c3bdfSopenharmony_cins-icmp_redirector (binary) 72f08c3bdfSopenharmony_ci ICMPv4/ICMPv6 redirect message sender 73f08c3bdfSopenharmony_ci The host under test assume the host where this utility run is a 74f08c3bdfSopenharmony_ci gateway. When the utility receives the packet from the host 75f08c3bdfSopenharmony_ci under test. This utility reply ICMP redirect message. 76f08c3bdfSopenharmony_ci 77f08c3bdfSopenharmony_cins-icmpv4_sender (binary) 78f08c3bdfSopenharmony_ci ICMPv4 echo request sender. 79f08c3bdfSopenharmony_ci This utility is also able to set illegal information in the IP header 80f08c3bdfSopenharmony_ci 81f08c3bdfSopenharmony_cins-icmpv6_sender (binary) 82f08c3bdfSopenharmony_ci ICMPv6 message (Echo request / MLDv2 query) sender. 83f08c3bdfSopenharmony_ci This utility is also able to set illegal information in the IP header 84f08c3bdfSopenharmony_ci 85f08c3bdfSopenharmony_cins-igmp_querier (binary) 86f08c3bdfSopenharmony_ci IGMP query message sender 87f08c3bdfSopenharmony_ci 88f08c3bdfSopenharmony_cins-mcast_join (binary) 89f08c3bdfSopenharmony_ci Assistant tool to join multicast groups 90f08c3bdfSopenharmony_ci 91f08c3bdfSopenharmony_cins-mcast_receiver (binary) 92f08c3bdfSopenharmony_ci Multicast UDP datagram receiver 93f08c3bdfSopenharmony_ci 94f08c3bdfSopenharmony_cins-udpsender (binary) 95f08c3bdfSopenharmony_ci UDP datagram sender (not only unicast but also multicast) 96