net: fix ESP header byte ordering definition
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Thu, 11 Jan 2018 09:15:58 +0000 (10:15 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Sat, 20 Jan 2018 15:10:53 +0000 (16:10 +0100)
commit68bda436a35c0fcad1dcc86ea6559361f87f64d5
treebc874d9d6c7915f63057b52ab6d3de68357a3092
parent3da37f68217336bed3e232c2486af06a687993fc
net: fix ESP header byte ordering definition

ESP header is defined in the RFC2406 [1] as Big Endian fields it should use
the corresponding types in DPDK as well.

[1] https://tools.ietf.org/html/rfc2406

Fixes: d4b684f7197a ("net: add ESP header to generic flow steering")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_net/rte_esp.h