Porting PicoTCP WIP
This commit is contained in:
14
kernel/picotcp/test/python/tcpbench_rx_linux.py
Executable file
14
kernel/picotcp/test/python/tcpbench_rx_linux.py
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/python
|
||||
from topology import *
|
||||
|
||||
T = Topology()
|
||||
net1 = Network(T, "pyt0")
|
||||
|
||||
h2 = Host(T, net1, args="tcpbench:r:6660:")
|
||||
|
||||
sleep(1)
|
||||
raw_input("Press enter to continue ...")
|
||||
start(T)
|
||||
|
||||
wait(h2)
|
||||
cleanup()
|
||||
Reference in New Issue
Block a user