cvs commit: src/sys/netgraph netgraph.h ng_base.c ng_socket.c
Alexander Motin
mav at FreeBSD.org
Fri Oct 19 08:04:18 PDT 2007
mav 2007-10-19 15:04:18 UTC
FreeBSD src repository
Modified files:
sys/netgraph netgraph.h ng_base.c ng_socket.c
Log:
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.
Now it allows to report right connect() call status from user-level
at the right time.
Revision Changes Path
1.69 +37 -5 src/sys/netgraph/netgraph.h
1.136 +182 -65 src/sys/netgraph/ng_base.c
1.83 +13 -12 src/sys/netgraph/ng_socket.c
More information about the cvs-all
mailing list