net: replace htons with constant endian swap
net: replace htons with constant endian swap

htons is not defined in Windows with the MinGW compiler.
htons is replaced with RTE_BE16 in order to compile under Windows.

Signed-off-by: Fady Bader <f2127d64ba0b9d3846f67a77c57c078766dd1086@mellanox.com>
Acked-by: Ranjit Menon <d9858831bd71ea8654d16047dffcc62a10524416@intel.com>
Tested-by: Pallavi Kadam <04c73ddce9f45f6664a05521f1a0d9e2539b2e10@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk