This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: IP_MAX_MEMBERSHIPS?
- To: Craig Rodrigues <rodrigc at mediaone dot net>
- Subject: Re: IP_MAX_MEMBERSHIPS?
- From: Andreas Jaeger <aj at suse dot de>
- Date: 24 Apr 2001 07:56:50 +0200
- Cc: libc-alpha at sources dot redhat dot com
- References: <20010424013153.A27663@mediaone.net>
Craig Rodrigues <rodrigc@mediaone.net> writes:
> Hi,
>
> I am looking at /usr/include/bits/in.h in glibc 2.2.2, lines 59-61:
> #define IP_DEFAULT_MULTICAST_TTL 1
> #define IP_DEFAULT_MULTICAST_LOOP 1
> #define IP_MAX_MEMBERSHIPS 20
>
> How were these values chosen? Are they based on some kernel
> parameter limitations?
gromit:/usr/src/linux:[0]$ grep -r IP_MAX_MEMBERSHIP .
./net/ipv4/igmp.c:#define IP_MAX_MEMBERSHIPS 20
./net/ipv4/igmp.c:int sysctl_igmp_max_memberships = IP_MAX_MEMBERSHIPS;
./net/TUNABLE:IP_MAX_MEMBERSHIPS Largest number of groups per socket (BSD style) (tunable)
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj