[BACK]Return to mld6.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet6

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet6/mld6.c between version 1.14 and 1.15

version 1.14, 2001/10/16 06:24:45 version 1.15, 2001/10/18 09:09:26
Line 383  mld6_sendpkt(in6m, type, dst)
Line 383  mld6_sendpkt(in6m, type, dst)
         struct ip6_moptions im6o;          struct ip6_moptions im6o;
         struct in6_ifaddr *ia;          struct in6_ifaddr *ia;
         struct ifnet *ifp = in6m->in6m_ifp;          struct ifnet *ifp = in6m->in6m_ifp;
         struct ifnet *outif = NULL;  
         /*          /*
          * At first, find a link local address on the outgoing interface           * At first, find a link local address on the outgoing interface
Line 453  mld6_sendpkt(in6m, type, dst)
Line 452  mld6_sendpkt(in6m, type, dst)
         /* increment output statictics */          /* increment output statictics */
         icmp6stat.icp6s_outhist[type]++;          icmp6stat.icp6s_outhist[type]++;
         ip6_output(mh, &ip6_opts, NULL, 0, &im6o, &outif);          ip6_output(mh, &ip6_opts, NULL, 0, &im6o, NULL);
         if (outif) {          icmp6_ifstat_inc(ifp, ifs6_out_msg);
                 icmp6_ifstat_inc(outif, ifs6_out_msg);          switch(type) {
                 switch(type) {          case MLD6_LISTENER_QUERY:
                  case MLD6_LISTENER_QUERY:                  icmp6_ifstat_inc(ifp, ifs6_out_mldquery);
                          icmp6_ifstat_inc(outif, ifs6_out_mldquery);                  break;
                          break;          case MLD6_LISTENER_REPORT:
                  case MLD6_LISTENER_REPORT:                  icmp6_ifstat_inc(ifp, ifs6_out_mldreport);
                          icmp6_ifstat_inc(outif, ifs6_out_mldreport);                  break;
                          break;          case MLD6_LISTENER_DONE:
                  case MLD6_LISTENER_DONE:                  icmp6_ifstat_inc(ifp, ifs6_out_mlddone);
                          icmp6_ifstat_inc(outif, ifs6_out_mlddone);                  break;
         }          }
 }  }

Removed from v.1.14  
changed lines
  Added in v.1.15

CVSweb <webmaster@jp.NetBSD.org>