igmp.c (80b304fd00e8b667775ff791121b61ecd7cd0c03) igmp.c (e6b688838e25b22e10dd273b48581cb2f62ec16e)
1/*
2 * Linux NET3: Internet Group Management Protocol [IGMP]
3 *
4 * This code implements the IGMP protocol as defined in RFC1112. There has
5 * been a further revision of this protocol since which is now supported.
6 *
7 * If you have trouble with this module be careful what gcc you have used,
8 * the older version didn't come out right using gcc 2.5.8, the newer one

--- 2525 unchanged lines hidden (view full) ---

2534#ifdef CONFIG_IP_MULTICAST
2535 querier = IGMP_V1_SEEN(state->in_dev) ? "V1" :
2536 IGMP_V2_SEEN(state->in_dev) ? "V2" :
2537 "V3";
2538#else
2539 querier = "NONE";
2540#endif
2541
1/*
2 * Linux NET3: Internet Group Management Protocol [IGMP]
3 *
4 * This code implements the IGMP protocol as defined in RFC1112. There has
5 * been a further revision of this protocol since which is now supported.
6 *
7 * If you have trouble with this module be careful what gcc you have used,
8 * the older version didn't come out right using gcc 2.5.8, the newer one

--- 2525 unchanged lines hidden (view full) ---

2534#ifdef CONFIG_IP_MULTICAST
2535 querier = IGMP_V1_SEEN(state->in_dev) ? "V1" :
2536 IGMP_V2_SEEN(state->in_dev) ? "V2" :
2537 "V3";
2538#else
2539 querier = "NONE";
2540#endif
2541
2542 if (rcu_dereference(state->in_dev->mc_list) == im) {
2542 if (rcu_access_pointer(state->in_dev->mc_list) == im) {
2543 seq_printf(seq, "%d\t%-10s: %5d %7s\n",
2544 state->dev->ifindex, state->dev->name, state->in_dev->mc_count, querier);
2545 }
2546
2547 delta = im->timer.expires - jiffies;
2548 seq_printf(seq,
2549 "\t\t\t\t%08X %5d %d:%08lX\t\t%d\n",
2550 im->multiaddr, im->users,

--- 252 unchanged lines hidden ---
2543 seq_printf(seq, "%d\t%-10s: %5d %7s\n",
2544 state->dev->ifindex, state->dev->name, state->in_dev->mc_count, querier);
2545 }
2546
2547 delta = im->timer.expires - jiffies;
2548 seq_printf(seq,
2549 "\t\t\t\t%08X %5d %d:%08lX\t\t%d\n",
2550 im->multiaddr, im->users,

--- 252 unchanged lines hidden ---