[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.37.2.4 and 1.43

version 1.37.2.4, 2007/10/23 20:17:22 version 1.43, 2008/04/08 15:04:35
Line 166  static void mld_stoptimer(struct in6_mul
Line 166  static void mld_stoptimer(struct in6_mul
 static u_long mld_timerresid(struct in6_multi *);  static u_long mld_timerresid(struct in6_multi *);
   
 void  void
 mld_init()  mld_init(void)
 {  {
         static u_int8_t hbh_buf[8];          static u_int8_t hbh_buf[8];
         struct ip6_hbh *hbh = (struct ip6_hbh *)hbh_buf;          struct ip6_hbh *hbh = (struct ip6_hbh *)hbh_buf;
Line 329  mld_input(struct mbuf *m, int off)
Line 329  mld_input(struct mbuf *m, int off)
   
         IP6_EXTHDR_GET(mldh, struct mld_hdr *, m, off, sizeof(*mldh));          IP6_EXTHDR_GET(mldh, struct mld_hdr *, m, off, sizeof(*mldh));
         if (mldh == NULL) {          if (mldh == NULL) {
                 icmp6stat.icp6s_tooshort++;                  icmp6stat[ICMP6_STAT_TOOSHORT]++;
                 return;                  return;
         }          }
   
Line 536  mld_sendpkt(struct in6_multi *in6m, int 
Line 536  mld_sendpkt(struct in6_multi *in6m, int 
         im6o.im6o_multicast_loop = (ip6_mrouter != NULL);          im6o.im6o_multicast_loop = (ip6_mrouter != NULL);
   
         /* increment output statictics */          /* increment output statictics */
         icmp6stat.icp6s_outhist[type]++;          icmp6stat[ICMP6_STAT_OUTHIST + type]++;
         icmp6_ifstat_inc(ifp, ifs6_out_msg);          icmp6_ifstat_inc(ifp, ifs6_out_msg);
         switch (type) {          switch (type) {
         case MLD_LISTENER_QUERY:          case MLD_LISTENER_QUERY:

Legend:
Removed from v.1.37.2.4  
changed lines
  Added in v.1.43

CVSweb <webmaster@jp.NetBSD.org>