[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.98.2.2 and 1.98.2.3

version 1.98.2.2, 2007/06/08 14:17:55 version 1.98.2.3, 2007/07/01 21:50:52
Line 161  static struct mbuf *ip6_pullexthdr __P((
Line 161  static struct mbuf *ip6_pullexthdr __P((
 void  void
 ip6_init()  ip6_init()
 {  {
           extern callout_t in6_tmpaddrtimer_ch;
         const struct ip6protosw *pr;          const struct ip6protosw *pr;
         int i;          int i;
   
Line 186  ip6_init()
Line 187  ip6_init()
         ip6flow_init(ip6_hashsize);          ip6flow_init(ip6_hashsize);
 #endif  #endif
   
           callout_init(&in6_tmpaddrtimer_ch, 0);
   
 #ifdef PFIL_HOOKS  #ifdef PFIL_HOOKS
         /* Register our Packet Filter hook. */          /* Register our Packet Filter hook. */
         inet6_pfil_hook.ph_type = PFIL_TYPE_AF;          inet6_pfil_hook.ph_type = PFIL_TYPE_AF;
Line 202  ip6_init2(void *dummy)
Line 205  ip6_init2(void *dummy)
 {  {
   
         /* nd6_timer_init */          /* nd6_timer_init */
         callout_init(&nd6_timer_ch);          callout_init(&nd6_timer_ch, 0);
         callout_reset(&nd6_timer_ch, hz, nd6_timer, NULL);          callout_reset(&nd6_timer_ch, hz, nd6_timer, NULL);
   
         /* timer for regeneranation of temporary addresses randomize ID */          /* timer for regeneranation of temporary addresses randomize ID */
         callout_init(&in6_tmpaddrtimer_ch);          callout_init(&in6_tmpaddrtimer_ch, 0);
         callout_reset(&in6_tmpaddrtimer_ch,          callout_reset(&in6_tmpaddrtimer_ch,
                       (ip6_temp_preferred_lifetime - ip6_desync_factor -                        (ip6_temp_preferred_lifetime - ip6_desync_factor -
                        ip6_temp_regen_advance) * hz,                         ip6_temp_regen_advance) * hz,

Legend:
Removed from v.1.98.2.2  
changed lines
  Added in v.1.98.2.3

CVSweb <webmaster@jp.NetBSD.org>