cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
tc_TcpSend.py File Reference

Go to the source code of this file.

Namespaces

 tc_TcpSend
 

Functions

def tc_TcpSend.tcp_tx_loop (sock, message, count, verbose=False)
 
def tc_TcpSend.tcp_tx_slowpace (sock, message, count, pause, verbose=False)
 
def tc_TcpSend.tcp_tx_payload_ramp (sock, message, count, pause=0.0, verbose=False)
 
def tc_TcpSend.tcp_tx_seg_size_ramp (sock, message, count, pause=0.0, verbose=False)
 

Variables

 tc_TcpSend.parser = argparse.ArgumentParser(description='A script to send TCP data to an FPGA module.')
 
 tc_TcpSend.type
 
 tc_TcpSend.str
 
 tc_TcpSend.default
 
 tc_TcpSend.help
 
 tc_TcpSend.int
 
 tc_TcpSend.action
 
 tc_TcpSend.float
 
 tc_TcpSend.args = parser.parse_args()
 
 tc_TcpSend.ipFpga = getFpgaIpv4(args)
 
 tc_TcpSend.instId = getInstanceId(args)
 
 tc_TcpSend.ipResMngr = getResourceManagerIpv4(args)
 
 tc_TcpSend.portFpga = RECV_MODE_LSN_PORT
 
 tc_TcpSend.portResMngr = getResourceManagerPort(args)
 
tuple tc_TcpSend.fpgaAssociation = (str(ipFpga), portFpga)
 
int tc_TcpSend.tcpSP = portFpga + 49152
 
tuple tc_TcpSend.hostAssociation = (ipSaStr, tcpSP)
 
 tc_TcpSend.tcpSock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 
 tc_TcpSend.seed = args.seed
 
 tc_TcpSend.size = args.size
 
 tc_TcpSend.count = args.loop_count
 
 tc_TcpSend.message = str_rand_gen(size)
 
 tc_TcpSend.verbose = args.verbose