Quote:
Originally Posted by rohit83.ken
Hello frnds
i am running iperf client as
./iperf –c 10.20.9.21 -l 22 –b 100 -i 1 – t 100 -u –p 5001
for UDP packet generation at client side in linux machine
I run iperf server as
./iperf –s –i 1 –u –p 5001 in 10.20.9.21 machine
how can I modify the iperf source code such that it generates different length
packet's at each interval
In the above length of packet must change at each second or interval
For example
if I run iperf with
./iperf –c 10.20.9.21 -l 22 –b 100 -i 1 – t 100 -u –p 5001
the next interval or second it must generate packet with different length
./iperf –c 10.20.9.21 -l 50 –b 100 -i 1 – t 100 -u –p 5001
see the bold charecters above
How can I change the packet length from 22 to 50 at run time only ,so that the packet length increases at each instance from 22 to 50 and then 100 and so on
|
Open the source file(s), and add your own instructions in. Compile and enjoy.
Or are you asking someone to write the code for you???