cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
Go to the source code of this file.
Namespaces | |
tc_TcpRecv | |
Functions | |
def | tc_TcpRecv.tcp_rx_loop (clientSock, serverSock, size, ip_da, tcp_dp, count, verbose=False) |
def | tc_TcpRecv.tcp_rx_ramp (clientSock, serverSock, ip_da, tcp_dp, verbose=False, start=1, end=0xFFFF) |
Variables | |
tc_TcpRecv.parser = argparse.ArgumentParser(description='A script to receive TCP data from an FPGA module.') | |
tc_TcpRecv.type | |
tc_TcpRecv.str | |
tc_TcpRecv.default | |
tc_TcpRecv.help | |
tc_TcpRecv.int | |
tc_TcpRecv.action | |
tc_TcpRecv.args = parser.parse_args() | |
tc_TcpRecv.ipFpga = getFpgaIpv4(args) | |
tc_TcpRecv.instId = getInstanceId(args) | |
tc_TcpRecv.ipResMngr = getResourceManagerIpv4(args) | |
tc_TcpRecv.portFpgaServer = XMIT_MODE_LSN_PORT | |
tc_TcpRecv.portResMngr = getResourceManagerPort(args) | |
tuple | tc_TcpRecv.fpgaServerAssociation = (str(ipFpga), portFpgaServer) |
tc_TcpRecv.tcpClientSock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
tc_TcpRecv.hostname = socket.gethostname() | |
tc_TcpRecv.ipHostStr = socket.gethostbyname(hostname) | |
tc_TcpRecv.ip4Str = ni.ifaddresses(itf)[AF_INET][0]['addr'] | |
tc_TcpRecv.ipHost = int(ipaddress.IPv4Address(ipHostStr)) | |
int | tc_TcpRecv.dpHost = 2718 |
tuple | tc_TcpRecv.hostListenAssociation = (str(ipHostStr), dpHost) |
tc_TcpRecv.tcpListenSock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
tc_TcpRecv.reqMsgAsBytes = struct.pack(">IHH", ipHost, dpHost, 0) | |
tc_TcpRecv.tcpServerSock | |
tc_TcpRecv.fpgaClientAssociation | |
tc_TcpRecv.seed = args.seed | |
int | tc_TcpRecv.TODO_MAX_SEG_SIZE = 2048 |
tc_TcpRecv.size = args.size | |
tc_TcpRecv.count = args.loop_count | |
tc_TcpRecv.verbose = args.verbose | |