Deleted Added
full compact
mld6.c (96116) mld6.c (105194)
1/* $FreeBSD: head/sys/netinet6/mld6.c 96116 2002-05-06 16:28:25Z ume $ */
1/* $FreeBSD: head/sys/netinet6/mld6.c 105194 2002-10-16 01:54:46Z sam $ */
2/* $KAME: mld6.c,v 1.27 2001/04/04 05:17:30 itojun Exp $ */
3
4/*
5 * Copyright (C) 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

451 * Request loopback of the report if we are acting as a multicast
452 * router, so that the process-level routing daemon can hear it.
453 */
454 im6o.im6o_multicast_loop = (ip6_mrouter != NULL);
455
456 /* increment output statictics */
457 icmp6stat.icp6s_outhist[type]++;
458
2/* $KAME: mld6.c,v 1.27 2001/04/04 05:17:30 itojun Exp $ */
3
4/*
5 * Copyright (C) 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

451 * Request loopback of the report if we are acting as a multicast
452 * router, so that the process-level routing daemon can hear it.
453 */
454 im6o.im6o_multicast_loop = (ip6_mrouter != NULL);
455
456 /* increment output statictics */
457 icmp6stat.icp6s_outhist[type]++;
458
459 ip6_output(mh, &ip6_opts, NULL, 0, &im6o, &outif);
459 ip6_output(mh, &ip6_opts, NULL, 0, &im6o, &outif, NULL);
460 if (outif) {
461 icmp6_ifstat_inc(outif, ifs6_out_msg);
462 switch (type) {
463 case MLD_LISTENER_QUERY:
464 icmp6_ifstat_inc(outif, ifs6_out_mldquery);
465 break;
466 case MLD_LISTENER_REPORT:
467 icmp6_ifstat_inc(outif, ifs6_out_mldreport);
468 break;
469 case MLD_LISTENER_DONE:
470 icmp6_ifstat_inc(outif, ifs6_out_mlddone);
471 break;
472 }
473 }
474}
460 if (outif) {
461 icmp6_ifstat_inc(outif, ifs6_out_msg);
462 switch (type) {
463 case MLD_LISTENER_QUERY:
464 icmp6_ifstat_inc(outif, ifs6_out_mldquery);
465 break;
466 case MLD_LISTENER_REPORT:
467 icmp6_ifstat_inc(outif, ifs6_out_mldreport);
468 break;
469 case MLD_LISTENER_DONE:
470 icmp6_ifstat_inc(outif, ifs6_out_mlddone);
471 break;
472 }
473 }
474}