numam-dpdk/lib/net
David Marchand 1657e1f871 net: fix header include order for FreeBSD
Spotted by sparse in OVS build:

../../lib/netdev-dpdk.c: note: in included file (through
/home/runner/work/ovs/ovs/dpdk-dir/build/include/rte_ip.h,
/home/runner/work/ovs/ovs/dpdk-dir/build/include/rte_flow.h, ...):
../../include/sparse/arpa/inet.h:22:2: error: "Must include
<netinet/in.h> before <arpa/inet.h> for FreeBSD support"

This is a check enforced by OVS itself.
See [1] for some context.

1: https://github.com/openvswitch/ovs/commit/b2befd5bb2db

Fixes: 89813a522e ("net: provide IP-related API on any OS")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2021-05-11 15:44:38 +02:00
..
meson.build
net_crc_avx512.c
net_crc_neon.c
net_crc_sse.c
net_crc.h
rte_arp.c
rte_arp.h
rte_ecpri.h
rte_esp.h
rte_ether.c
rte_ether.h net: add endianness annotations to ethernet headers 2021-05-11 15:22:26 +02:00
rte_geneve.h
rte_gre.h
rte_gtp.h
rte_higig.h
rte_icmp.h
rte_ip.h net: fix header include order for FreeBSD 2021-05-11 15:44:38 +02:00
rte_mpls.h
rte_net_crc.c
rte_net_crc.h
rte_net.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_net.h
rte_sctp.h
rte_tcp.h
rte_udp.h
rte_vxlan.h
version.map