[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.168.2.1 and 1.171

version 1.168.2.1, 2008/05/18 12:35:30 version 1.171, 2008/04/26 08:13:59
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];
   
         return (NETSTAT_SYSCTL(udpstat_percpu, UDP_NSTATS));          ctx.ctx_stat = udpstat_percpu;
           ctx.ctx_counters = udps;
           ctx.ctx_ncounters = UDP_NSTATS;
           return (NETSTAT_SYSCTL(&ctx));
 }  }
   
 /*  /*

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

CVSweb <webmaster@jp.NetBSD.org>