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

IP_MAX_MEMBERSHIPS and limits ?



There is a comment in netinet/in.h:

#define    IP_MAX_MEMBERSHIPS      20      /* per socket; must fit in one
mbuf */

However, reading through where ip_moptions is included in in_pcb, there
appears to be no use of mbufs for this array in the socket structures.

Does this mean I can safely increase IP_MAX_MEMBERSHIPS now and this may be
some legacy comment ?

I need to run RIP / OSPF on a machines with many VLAN interfaces (>40) and
without tuning this parameter I can only join the multicast groups on up to
20 interfaces.

Peter