updated iperf tests to work with new cstruct