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

cvs commit: src/sys/net/ipfw ip_fw2.c ip_fw2.h src/sys/net/dummynet ip_dummynet.c ip_dummynet.h

From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Nov 2007 06:42:52 -0800 (PST)

sephe       2007/11/06 06:42:52 PST

DragonFly src repository

  Modified files:
    sys/net/ipfw         ip_fw2.c ip_fw2.h 
    sys/net/dummynet     ip_dummynet.c ip_dummynet.h 
  - Use hash table for pipes and flow set, which accelerates flow set looking up
    in dummynet_io().  This should be fast enough so that we don't need to cache
    the searching result in ipfw(4) pipe/queue rule's pipe_ptr field.  This also
    further decouples dummynet(4) and ipfw(4).
  - Nuke flush_pipe_ptrs() after above change.
  - Use queue(3) for linked list.
  Revision  Changes    Path
  1.37      +0 -20     src/sys/net/ipfw/ip_fw2.c
  1.7       +0 -2      src/sys/net/ipfw/ip_fw2.h
  1.46      +276 -218  src/sys/net/dummynet/ip_dummynet.c
  1.15      +10 -4     src/sys/net/dummynet/ip_dummynet.h


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