[P4-dev] [P4_16] [copy_to_cpu] how to drop packet payload only
h-dy at outlook.com
Mon Jun 12 05:33:14 EDT 2017
I want to implement copy_to_cpu function. (like OpenFlow Packet-IN)
When I decided to send a packet to control-plane, I need to encapsulate the packet with new ethernet/ip/udp header.
How can I only send packet header and don’t send the origin payload.
Another question, can I buffer the packet and wait for control-plane?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the P4-dev