|
string | tc_TcpEcho.gEchoRxPath = './echoRx.dat' |
|
string | tc_TcpEcho.gEchoTxPath = './echoTx.dat' |
|
int | tc_TcpEcho.rc = 0 |
|
| tc_TcpEcho.parser = argparse.ArgumentParser(description='A script to send/receive TCP data to/from an FPGA module.') |
|
| tc_TcpEcho.type |
|
| tc_TcpEcho.str |
|
| tc_TcpEcho.default |
|
| tc_TcpEcho.help |
|
| tc_TcpEcho.int |
|
| tc_TcpEcho.action |
|
| tc_TcpEcho.args = parser.parse_args() |
|
| tc_TcpEcho.ipFpga = getFpgaIpv4(args) |
|
| tc_TcpEcho.instId = getInstanceId(args) |
|
| tc_TcpEcho.ipResMngr = getResourceManagerIpv4(args) |
|
| tc_TcpEcho.portFpga = getFpgaPort(args) |
|
| tc_TcpEcho.portResMngr = getResourceManagerPort(args) |
|
int | tc_TcpEcho.tcpDP = 8803 |
|
tuple | tc_TcpEcho.fpgaAssociation = (str(ipFpga), tcpDP) |
|
int | tc_TcpEcho.tcpSP = tcpDP + 49152 |
|
tuple | tc_TcpEcho.hostAssociation = (ipSaStr, tcpSP) |
|
| tc_TcpEcho.tcpSock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
|
| tc_TcpEcho.seed = args.seed |
|
| tc_TcpEcho.size = args.size |
|
| tc_TcpEcho.count = args.loop_count |
|
| tc_TcpEcho.message = str_static_gen(size) |
|
| tc_TcpEcho.verbose = args.verbose |
|
| tc_TcpEcho.tx_thread = threading.Thread(target=tcp_tx, args=(tcpSock, message, count, args.verbose)) |
|
| tc_TcpEcho.rx_thread = threading.Thread(target=tcp_rx, args=(tcpSock, message, count, args.verbose)) |
|
| tc_TcpEcho.result = filecmp.cmp(gEchoTxPath, gEchoRxPath, shallow=False) |
|