[ovs-discuss] DP_Packet Payload Modification
Gregory Rose
gvrose8192 at gmail.com
Fri Jun 5 16:58:05 UTC 2020
On 6/4/2020 10:06 AM, Luca Mancini wrote:
> Hello,
> This is sort of a repost from my previous question about creating a custom udp payload.
> I figured I could just clone a received udp payload and modify its payload, do you think this is possible? I tried creating a packet from 0 but I just couldn’t manage to do it.
>
> I’m guessing I could do something along the lines of dp_packet_clone(), dp_packet_l4() to get the pointer to the UDP header and then overwrite it with memcpy?
> Any help is really appreciated, Thanks!
>
> Luca Mancini
Luca,
I'm having a hard time understanding this. If you want to generate a
UDP packet with custom payload why not just use scapy or some other such
tool?
- Greg
More information about the discuss
mailing list