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

cvs commit: src/lib/libkinfo Makefile kinfo.h kinfo_net.c kinfo_pcpu.c src/sys/net route.c route.h src/usr.bin/netstat Makefile main.c netstat.h route.c


From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 30 Apr 2005 21:05:35 -0700 (PDT)

hmp         2005/04/30 21:05:35 PDT

DragonFly src repository

  Modified files:
    lib/libkinfo         Makefile kinfo.h kinfo_pcpu.c 
    sys/net              route.c route.h 
    usr.bin/netstat      Makefile main.c netstat.h route.c 
  Added files:
    lib/libkinfo         kinfo_net.c 
  Log:
  Networking routing statistics on a per-CPU basis:
  
  	(a) sysctl node net.route introduced.
  
  	(b) sysctl leaf node net.route.stats can be used for retrieving
  	    a cpu indexed array of struct rtstatistics.
  
  	(a) add a function kinfo_get_net_rtstatistics(3), which will be
  	    responsible for providing an aggregated view of the routing
  	    statistics; part of libkinfo(3).
  
  	(d) adapt netstat(8) to make use of the new libkinfo interface
  		for retrieving routing statistics.
  
  Discussed-with:	Jeffrey Hsu <hsu at dragonflybsd.org> (long time ago)
  
  Revision  Changes    Path
  1.6       +2 -1      src/lib/libkinfo/Makefile
  1.8       +7 -0      src/lib/libkinfo/kinfo.h
  1.3       +4 -0      src/lib/libkinfo/kinfo_pcpu.c
  1.20      +49 -2     src/sys/net/route.c
  1.14      +6 -6      src/sys/net/route.h
  1.3       +3 -3      src/usr.bin/netstat/Makefile
  1.9       +1 -1      src/usr.bin/netstat/main.c
  1.7       +1 -1      src/usr.bin/netstat/netstat.h
  1.9       +14 -12    src/usr.bin/netstat/route.c


http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/Makefile.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/kinfo.h.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/kinfo_pcpu.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/route.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/route.h.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/netstat/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/netstat/main.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/netstat/netstat.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/netstat/route.c.diff?r1=1.8&r2=1.9&f=u



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