CPC H04L 43/50 (2013.01) [H04L 41/145 (2013.01)] | 12 Claims |
1. A method for emulating a stateful transport layer protocol, including packet retransmissions, in a programmable switching application-specific integrated circuit (ASIC), the method comprising:
emulating a stateful transport layer client on a first port of a programmable switching ASIC;
transmitting packets from the emulated stateful transport layer client to a device under test (DUT) to establish a plurality of stateful transport layer protocol connections;
storing, at the programmable switching ASIC, packet content information of each of the transmitted packets;
detecting, by the emulated transport layer client and using a transmission time for one of the packets, a packet timeout event for the one packet;
in response to detecting the packet timeout event for the one packet, generating, by a packet generator implemented in the programmable switching ASIC and using the stored packet content information for the one packet, a copy of the one packet for emulating a stateful transport layer retransmission of the one packet; and
transmitting, by the emulated transport layer client, the copy of the one packet to emulate the stateful transport layer retransmission of the one packet.
|