freebsd-skq/sys/netatalk
jlemon 954e1d2ccd Lock down the network interface queues. The queue mutex must be obtained
before adding/removing packets from the queue.  Also, the if_obytes and
if_omcasts fields should only be manipulated under protection of the mutex.

IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on
the queue.  An IF_LOCK macro is provided, as well as the old (mutex-less)
versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which
needs them, but their use is discouraged.

Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF,
which takes care of locking/enqueue, and also statistics updating/start
if necessary.
2000-11-25 07:35:38 +00:00
..
aarp.c Slight cleanup of aarp code 2000-03-29 17:12:09 +00:00
aarp.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
at_control.c Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
at_extern.h
at_proto.c
at_rmx.c
at_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
at.h
COPYRIGHT
ddp_input.c Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
ddp_output.c Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
ddp_pcb.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
ddp_usrreq.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
ddp_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ddp.h
endian.h
phase2.h