[v3,0/3] compile librte_net for windows
mbox series

Message ID 20200708082525.28504-1-fady@mellanox.com
Headers show
Series
  • compile librte_net for windows
Related show

Message

Fady Bader July 8, 2020, 8:25 a.m. UTC
Addded needed files and fixes for windows in order to get 
librte_net compiling under Windows.

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

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

 lib/librte_eal/common/meson.build           |  1 +
 lib/librte_eal/rte_eal_exports.def          |  1 +
 lib/librte_eal/windows/include/netinet/in.h | 25 +++++++++++++++++++++++++
 lib/librte_eal/windows/include/netinet/ip.h | 12 ++++++++++++
 lib/librte_net/rte_arp.c                    | 11 +++++++----
 lib/librte_net/rte_ether.h                  |  9 +++++++++
 lib/meson.build                             |  2 +-
 7 files changed, 56 insertions(+), 5 deletions(-)
 create mode 100644 lib/librte_eal/windows/include/netinet/in.h
 create mode 100644 lib/librte_eal/windows/include/netinet/ip.h