cvs commit: src/sys/netgraph netgraph.h ng_base.c ng_socket.c

Alexander Motin mav at FreeBSD.org
Sun Oct 28 10:48:48 PDT 2007


mav         2007-10-28 17:48:47 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/netgraph         netgraph.h ng_base.c ng_socket.c 
  Log:
  MFC ng_base.c rev 1.136-1.137, netgraph.h rev 1.69, ng_socket.c rev 1.83
  
  Implement new apply callback mechanism to handle item forwarding.
  When item forwarded, refence counter is incremented, when item
  processed, counter decremented. When counter reaches zero,
  apply handler is getting called.
  It allows to report connect() call status only when it is really completed.
  
  Reviewed by:    julian
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.68.2.1   +37 -5     src/sys/netgraph/netgraph.h
  1.135.2.1  +191 -66   src/sys/netgraph/ng_base.c
  1.82.2.1   +13 -12    src/sys/netgraph/ng_socket.c


More information about the cvs-src mailing list