cvs commit: src/sys/netgraph ng_car.c

Alexander Motin mav at FreeBSD.org
Tue Apr 1 06:58:11 PDT 2008


mav         2008-04-01 13:58:10 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netgraph         ng_car.c 
  Log:
  MFC rev. 1.6-1.7
  - Switch from timeval to bintime, to use 1/(2^20) of seconds instead of
  microseconds. It allows to use bit shifts instead of some heavy 64bit
  mul/div math operations.
  - Account all node stats at the shape mode.
  - Do not check destination hook presence, it will be done by netgraph.
  - Use u_int instead of int in some places to simplify type conversions.
  - Use NG_SEND_DATA_ONLY() macro instead of selfmade equivalent.
  
  Revision  Changes    Path
  1.4.2.2   +51 -58    src/sys/netgraph/ng_car.c


More information about the cvs-all mailing list