[BACK]Return to ip6_input.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/ip6_input.c between version 1.52 and

version 1.52, 2002/05/12 15:48:39 version, 2002/05/30 13:52:32
Line 160  ip6_init()
Line 160  ip6_init()
 {  {
         struct ip6protosw *pr;          struct ip6protosw *pr;
         int i;          int i;
         struct timeval tv;  
         pr = (struct ip6protosw *)pffindproto(PF_INET6, IPPROTO_RAW, SOCK_RAW);          pr = (struct ip6protosw *)pffindproto(PF_INET6, IPPROTO_RAW, SOCK_RAW);
         if (pr == 0)          if (pr == 0)
Line 175  ip6_init()
Line 174  ip6_init()
         ip6intrq.ifq_maxlen = ip6qmaxlen;          ip6intrq.ifq_maxlen = ip6qmaxlen;
         nd6_init();          nd6_init();
         frag6_init();          frag6_init();
         /*          ip6_flow_seq = arc4random();
          * in many cases, random() here does NOT return random number  
          * as initialization during bootstrap time occur in fixed order.  
         ip6_flow_seq = random() ^ tv.tv_usec;  
         ip6_init2((void *)0);          ip6_init2((void *)0);
Line 1517  ip6_sysctl(name, namelen, oldp, oldlenp,
Line 1511  ip6_sysctl(name, namelen, oldp, oldlenp,
                 }                  }
                 return (error);                  return (error);
 #endif  #endif
           case IPV6CTL_MAXFRAGS:
                   return sysctl_int(oldp, oldlenp, newp, newlen, &ip6_maxfrags);
         default:          default:
                 return EOPNOTSUPP;                  return EOPNOTSUPP;
         }          }

Removed from v.1.52  
changed lines
  Added in v.

CVSweb <webmaster@jp.NetBSD.org>