[dpdk-dev] [PATCH] net: add rte_ipv4_hdr_len()
Ferruh Yigit
ferruh.yigit at intel.com
Tue Oct 13 19:40:54 CEST 2020
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 <thomas at monjalon.net>
> Signed-off-by: Michael Pfeiffer <michael.pfeiffer at tu-ilmenau.de>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
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.
More information about the dev
mailing list