[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87r1hkt800.fsf@oldenburg.str.redhat.com>
Date: Wed, 02 Jun 2021 20:51:43 +0200
From: Florian Weimer <fweimer@...hat.com>
To: Andreas Roeseler <andreas.a.roeseler@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
yoshfuji@...ux-ipv6.org, dsahern@...nel.org, kuba@...nel.org
Subject: Re: [PATCH net-next V6 1/6] icmp: add support for RFC 8335 PROBE
* Andreas Roeseler:
> Are <netinet/in.h> and <linux/in.h> the only conflicting files?
> <linux/in.h> is only included to gain use of the in_addr struct, but
> that can be easily substituted out of the code in favor of __be32.
> Therefore we would no longer need to include <linux/in.h> and would
> remove the conflict.
I'm not 100% sure, but it looks this way. I can include <netinet/in.h>
and both <linux/in6.h> and <linux/if.h> in the same translation unit.
Thanks,
Florian
Powered by blists - more mailing lists