I am using Pcap.net to send packets using send buffer with Wireshark file (pcap extension) and my question is there is any way to change the packet's IP during or before playback? Here I fill the buffer with the packets from the file before the transmit:
int numPackets = 0;
Packet packet;
while (inputCommunicator.ReceivePacket(out packet) == PacketCommunicatorReceiveResult.Ok)
{
ILayer layer = packet.Ethernet.ExtractLayer(); --> new layer
sendBuffer.Enqueue(packet);
++numPackets;
}