[dpdk-dev] [RFC] function to parse packet headers

longtb5 at viettel.com.vn longtb5 at viettel.com.vn
Wed Jan 9 04:43:16 CET 2019


Hi Morten,

What is the difference compare to rte_net_get_ptype(), which also parses
packet types and reports on header length.

In my application I have also done something similar about malformed
packets. IMO it's very useful to have return value indicate different types
of malformed packets, not just -1, e.g. invalid IP options, IP loopback,
etc. 

Regards,
BL


More information about the dev mailing list