I have captured some packets in Wireshark and need to replay those again in any way.
The Wireshark wiki Tools page lists many packet capture related tools, among them some tools that can replay packets such as Bit-Twist, PlayCap, Scapy, tcpreplay and several others.