net: fix IPv4 IHL and VHL define
authorFlavia Musatescu <flavia.musatescu@intel.com>
Wed, 6 Nov 2019 14:49:41 +0000 (14:49 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:05 +0000 (23:15 +0100)
commit5b1f399c5cacc11ea2bab7bc68a06bcfa378279d
tree149e137d23ad4b605261a4b51534adb6a8fc6742
parent2b4cd8ad5e51b40f57c0e548f07a1056f5dc2894
net: fix IPv4 IHL and VHL define

Fix the RTE_IPV4_VHL_DEF macro that represents the value
for the IPv4 VHL and Minimum IHL header fields according to
rfc791.

Fixes: 2318d8d54565 ("net: define IPv4 IHL and VHL")
Cc: stable@dpdk.org
Reported-by: David Harton <dharton@cisco.com>
Signed-off-by: Flavia Musatescu <flavia.musatescu@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_net/rte_ip.h