How would one go about matching ICMP traffic with doca_flow?
Using the samples I can match TCP traffic, for example by setting my doca_flow_match fields like:
match.out_l4_type = DOCA_PROTO_TCP;
However, there appear to be DOCA_PROTO_ defines for TCP and UDP. I did notice that the define values correspond to the IANA protocol numbers for these TCP - 6, and UDP - 17. So I tried specifying 1 as ICMP is 1 but that resulted in an error.
So, how might one go about setting up a match for ICMP traffic?
-J