On 7/23/2020 12:08 AM, Fady Bader wrote:
v2: * fixed style issue.

v3: * replaced htons with rte_cpu_to_be_16.
     * rebased to current master.

v4: * removed the use of rte_random in librte_net.
     * replaced htons with RTE_BE16.

Fady Bader (3):
   net: fix s_addr redefinition in Windows
   net: replace htons with RTE_BE16
   eal/windows: librte_net build on Windows

  lib/librte_eal/windows/include/netinet/in.h | 23 +++++++++++++++++++++++
  lib/librte_eal/windows/include/netinet/ip.h | 10 ++++++++++
  lib/librte_net/rte_arp.c                    | 11 +++++------
  lib/librte_net/rte_ether.c                  |  4 ++++
  lib/librte_net/rte_ether.h                  |  9 +++++++++
  lib/meson.build                             |  2 +-
  6 files changed, 52 insertions(+), 7 deletions(-)
  create mode 100644 lib/librte_eal/windows/include/netinet/in.h
  create mode 100644 lib/librte_eal/windows/include/netinet/ip.h

Acked-by: Ranjit Menon <ranjit.me...@intel.com>


Reply via email to