08/04/2021 13:45, Olivier Matz: > I see it has already been discussed for posix functions like close() or > strdup(), so I won't reopen the door too long ;) > > Since DPDK is a network-oriented project, it provides network defines or > structure, prefixed with rte_. This API is on some aspects more complete > than the one provided in libc (for instance, more protocol headers are > available) . So, to me, it would make sense to define RTE_IPPROTO_* and > replace usages of IPPROTO_*, and avoid inclusions of network libc > headers in DPDK code. > > This can be done later, if there is a consensus.
That's an interesting question. What would be the benefit of avoiding network libc includes?