Re: New Address Family: Inter Process Networking (IPN)

From: Ben Pfaff
Date: Fri Dec 07 2007 - 00:03:21 EST


"Chris Friesen" <cfriesen@xxxxxxxxxx> writes:

> David Miller wrote:
>> From: "Chris Friesen" <cfriesen@xxxxxxxxxx>
>>> One problem we ran into was that there are only 32 multicast groups
>>> per netlink protocol family.
>> I'm pretty sure we've removed this limitation.
> As of 2.6.23 nl_groups is a 32-bit bitmask with one bit per
> group.

Use setsockopt(fd, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP, ...) to
join an arbitrary Netlink multicast group.
--
"A computer is a state machine.
Threads are for people who cant [sic] program state machines."
--Alan Cox

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/