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

Sepherosa Ziehau sephe at
Tue Nov 6 06:43:53 PST 2007

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

More information about the Commits mailing list