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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux