On 10/12/2020 3:55 PM, Michael Pfeiffer wrote:
Add a function to calculate the length of an IPv4 header as suggested
on the mailing list [1]. Call where appropriate.

[1] https://mails.dpdk.org/archives/dev/2020-October/184471.html

Suggested-by: Thomas Monjalon <[email protected]>
Signed-off-by: Michael Pfeiffer <[email protected]>

Reviewed-by: Ferruh Yigit <[email protected]>

Applied to dpdk-next-net/main, thanks.
Updated patch title to "net: add function to calculate IPv4 header length"


Since you are already on it, a similar function to get the version also can be useful, if you have time for it.

Reply via email to