[BACK]Return to udp_usrreq.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/udp_usrreq.c between version 1.171 and 1.172

version 1.171, 2008/04/26 08:13:59 version 1.172, 2008/05/04 07:22:14
Line 1349  release:
Line 1349  release:
 static int  static int
 sysctl_net_inet_udp_stats(SYSCTLFN_ARGS)  sysctl_net_inet_udp_stats(SYSCTLFN_ARGS)
 {  {
         netstat_sysctl_context ctx;  
         uint64_t udps[UDP_NSTATS];  
   
         ctx.ctx_stat = udpstat_percpu;          return (NETSTAT_SYSCTL(udpstat_percpu, UDP_NSTATS));
         ctx.ctx_counters = udps;  
         ctx.ctx_ncounters = UDP_NSTATS;  
         return (NETSTAT_SYSCTL(&ctx));  
 }  }
   
 /*  /*

Legend:
Removed from v.1.171  
changed lines
  Added in v.1.172

CVSweb <webmaster@jp.NetBSD.org>