[BACK]Return to in6_cksum.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/in6_cksum.c between version 1.26 and 1.27

version 1.26, 2008/03/10 22:29:13 version 1.27, 2008/03/10 22:34:40
Line 101  in6_cksum(struct mbuf *m, u_int8_t nxt, 
Line 101  in6_cksum(struct mbuf *m, u_int8_t nxt, 
         }          }
   
         sum += w[0];          sum += w[0];
         if (!IN6_IS_SCOPE_LINKLOCAL(in6_src) &&          if (!IN6_IS_SCOPE_EMBEDDABLE(in6_src))
             !IN6_IS_ADDR_MC_INTFACELOCAL(in6_src))  
                 sum += w[1];                  sum += w[1];
         sum += w[2];          sum += w[2];
         sum += w[3];          sum += w[3];
Line 112  in6_cksum(struct mbuf *m, u_int8_t nxt, 
Line 111  in6_cksum(struct mbuf *m, u_int8_t nxt, 
         sum += w[7];          sum += w[7];
         w += 8;          w += 8;
         sum += w[0];          sum += w[0];
         if (!IN6_IS_SCOPE_LINKLOCAL(in6_dst) &&          if (!IN6_IS_SCOPE_EMBEDDABLE(in6_dst))
             !IN6_IS_ADDR_MC_INTFACELOCAL(in6_dst))  
                 sum += w[1];                  sum += w[1];
         sum += w[2];          sum += w[2];
         sum += w[3];          sum += w[3];

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

CVSweb <webmaster@jp.NetBSD.org>