DragonFly BSD
DragonFly commits List (threaded) for 2004-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/netinet ip_flow.c ip_input.c ip_var.h src/usr.bin/netstat inet.c src/usr.bin/systat ip.c

From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 3 May 2004 08:18:25 -0700 (PDT)

hmp         2004/05/03 08:18:25 PDT

DragonFly src repository

  Modified files:
    sys/netinet          ip_flow.c ip_input.c ip_var.h 
    usr.bin/netstat      inet.c 
    usr.bin/systat       ip.c 
  Make IP statistics counters per-CPU so they can be updated safely.
  	* For SMP, we index into the array with the current CPU's
  	  as ipstats_ary[gd->gd_cpuid], and for UP we just return
  	  struct at ipstats_ary[0] (CPU-0).
  	* Rename the structure from ipstat to ip_stats.
  	* Wrap function definition of CPU counter aggregation in a
  	  macro called CPU_STATS_FUNC() to avoid duplication.
  	* Retain support for resetting the counters using netstat(1).
  Revision  Changes    Path
  1.4       +2 -0      src/sys/netinet/ip_flow.c
  1.24      +43 -2     src/sys/netinet/ip_input.c
  1.7       +17 -2     src/sys/netinet/ip_var.h
  1.13      +44 -26    src/usr.bin/netstat/inet.c
  1.5       +6 -6      src/usr.bin/systat/ip.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]