[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.118 and 1.119

version 1.118, 2008/04/24 11:38:38 version 1.119, 2008/05/04 07:22:15
Line 1654  u_char inet6ctlerrmap[PRC_NCMDS] = {
Line 1654  u_char inet6ctlerrmap[PRC_NCMDS] = {
 static int  static int
 sysctl_net_inet6_ip6_stats(SYSCTLFN_ARGS)  sysctl_net_inet6_ip6_stats(SYSCTLFN_ARGS)
 {  {
         netstat_sysctl_context ctx;  
         uint64_t ip6s[IP6_NSTATS];  
   
         ctx.ctx_stat = ip6stat_percpu;          return (NETSTAT_SYSCTL(ip6stat_percpu, IP6_NSTATS));
         ctx.ctx_counters = ip6s;  
         ctx.ctx_ncounters = IP6_NSTATS;  
         return (NETSTAT_SYSCTL(&ctx));  
 }  }
   
 SYSCTL_SETUP(sysctl_net_inet6_ip6_setup, "sysctl net.inet6.ip6 subtree setup")  SYSCTL_SETUP(sysctl_net_inet6_ip6_setup, "sysctl net.inet6.ip6 subtree setup")

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.119

CVSweb <webmaster@jp.NetBSD.org>