文本文件  |  96行  |  2.42 KB

This directory stores the utilities for the network stress tests

====

check_envval
	Check the environment variable for the network stress test

get_ifname
	Get the interface name which belongs to the specified test link

initialize_if
	Initialize the interface which belongs to the specified test link

set_ipv4addr
	Set an IPv4 address to the interface which belongs to the specified
	test link

add_ipv6addr
	Add an IPv6 address to the interface which belongs to the specified
	test link

check_icmpv4_connectivity
	Check the ICMPv4 connectivity from a interface to an IPv4 address

check_icmpv6_connectivity
	Check the ICMPv6 connectivity from a interface to a IPv6 address

check_netem
	Check the remote host has netem functionality

check_setkey
	Check the local/remote host has setkey command

create_file
	Create a file in the specified size

find_portbundle
	Find a bundle of consecutive ports

killall_icmp_traffic
	Kill all of the icmp traffic utilities (ping or ping6)

killall_udp_traffic
	Kill all of the udp traffic utilities (ns-udpserver, ns-udpclient)

killall_tcp_traffic
	Kill all of the tcp traffic utilities (ns-tcpserver, ns-tcpclient)

output_ipsec_conf
	Output IPsec configuration

ns-echoclient
	Send various kind of echo request

ns-udpserver (binary)
	UDP traffic server.
	Receive UDP datagram from a client, then send it to the client

ns-udpclient (binary)
	UDP traffic client
	Send UDP datagram to a server, then receive datagram from it

ns-tcpserver (binary)
	TCP traffic server.
	Accept connections from the clients, then send tcp segments to it

ns-tcpclient (binary)
	TCP traffic client
	Request connections to the server, then receive tcp segments

ns-icmp_redirector (binary)
	ICMPv4/ICMPv6 redirect message sender
	The host under test assume the host where this utility run is a
	gateway. When the utility receives the packet from the host
	under test. This utility reply ICMP redirect message.

ns-icmpv4_sender (binary)
	ICMPv4 echo request sender.
	This utility is also able to set illegal information in the IP header

ns-icmpv6_sender (binary)
	ICMPv6 message (Echo request / MLDv2 query) sender.
	This utility is also able to set illegal information in the IP header

ns-igmp_querier (binary)
	IGMP query message sender

ns-mcast_join (binary)
	Assistant tool to join multicast groups

ns-mcast_receiver (binary)
	Multicast UDP datagram receiver

ns-udpsender (binary)
	UDP datagram sender (not only unicast but also multicast)