Hi,
I’ve been testing the eth_l2_fwd sample and it works fine for simple packet forwarding between two interfaces.
Now I’d like to inspect the traffic — for example, to detect whether each packet is TCP, UDP, ICMP, or something else.
Before I start modifying the code manually, I wanted to ask:
Is there any DOCA sample that already demonstrates how to parse and identify packet types or protocols (like inspecting Ethernet / IP / TCP headers)?
Basically I’m looking for something similar to a “packet analyzer” example — maybe something in the SDK that already decodes L3/L4 headers or uses DOCA Flow for classification.
Any suggestions or references would be really appreciated.
Thanks,