Re: [IGMPv3/MLDv2] Problem using host implementation on 2.6.0-test1

From: David S. Miller (davem@redhat.com)
Date: Mon Jul 28 2003 - 09:08:07 EST


On Mon, 28 Jul 2003 10:44:17 +0200 (MEST)
Hitoshi Asaeda <Hitoshi.Asaeda@sophia.inria.fr> wrote:

> Anyway, so, what is the benefit to use __u32 for the members of
> "struct ip_mreq_source", even though "struct ip_mreq" uses in_addr?

Because using a structure for a 32-bit integer is absolutely
stupid. That's why.

> Such __u32 definition makes application programmers confuse and use
> "#ifdef Linux" or "#ifndef Linux" stuff in their codes.
> What is your favor?

You won't have to, because the libc level interface will be whatever
the IETF group specifies, so you can code to that.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:01 EST