freebsd-skq/sys/netgraph/atm
Andre Oppermann 3161f583ca Apply error and success logic consistently to the function netisr_queue() and
its users.

netisr_queue() now returns (0) on success and ERRNO on failure.  At the
moment ENXIO (netisr queue not functional) and ENOBUFS (netisr queue full)
are supported.

Previously it would return (1) on success but the return value of IF_HANDOFF()
was interpreted wrongly and (0) was actually returned on success.  Due to this
schednetisr() was never called to kick the scheduling of the isr.  However this
was masked by other normal packets coming through netisr_dispatch() causing the
dequeueing of waiting packets.

PR:		kern/70988
Found by:	MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
MFC after:	3 days
2004-08-27 18:33:08 +00:00
..
atmpif Apply error and success logic consistently to the function netisr_queue() and 2004-08-27 18:33:08 +00:00
ccatm This is the netgraph node framework for the user side call control 2004-08-12 14:22:00 +00:00
sscfu Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
sscop Switch to using C99 sparse initialisers for the type methods array. 2004-05-29 00:51:19 +00:00
uni Convert Netgraph to use mbuf tags to pass its meta information around. 2004-06-25 19:22:05 +00:00
ng_atm.c Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
ng_atm.h Get rid of the old *LEN constants in favour of the new *SIZ constants 2004-01-26 14:57:49 +00:00
ng_atmpif.h Add ng_atmpif: a HARP physical interface emulation. This allows one 2003-08-11 08:40:02 +00:00
ng_ccatm.h This is the netgraph node framework for the user side call control 2004-08-12 14:22:00 +00:00
ng_sscfu.h Netgraph part of the NgATM signalling AA layer. These nodes can 2003-10-24 07:39:11 +00:00
ng_sscop.h Make the defines that prevent multiple includes look like the 2003-11-13 13:00:56 +00:00
ng_uni.h The layer 3 (signalling) of NgATM netgraph node: ng_uni. This node 2003-11-07 09:15:14 +00:00
ngatmbase.c The last argument to mtx_init() should be MTX_DEF, not 0. This is not a 2003-12-08 01:18:04 +00:00
ngatmbase.h Make the defines that prevent multiple includes look like the 2003-11-13 13:00:56 +00:00