1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00
freebsd/sys/net
Jonathan Lemon df5e198723 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
..
bpf_compat.h
bpf_filter.c
bpf.c Fix an order of operations buglet. ! has higher precedence than &. This 2000-11-03 00:51:41 +00:00
bpf.h
bpfdesc.h
bridge.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
bridge.h
bsd_comp.c Remove #if DO_DEFLATE 2000-10-27 08:38:26 +00:00
ethernet.h
fddi.h
hostcache.c
hostcache.h
if_arp.h
if_atm.h
if_atmsubr.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_disc.c
if_dl.h
if_ef.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_ethersubr.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_faith.c
if_fddisubr.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_gif.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_gif.h
if_ieee80211.h Add some additional message types for coming raylan driver from Duncan 2000-10-30 06:03:57 +00:00
if_iso88025subr.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_llc.h
if_loop.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_media.c
if_media.h
if_mib.c
if_mib.h
if_ppp.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_ppp.h
if_pppvar.h
if_sl.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_slvar.h
if_sppp.h
if_spppsubr.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_stf.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_stf.h
if_tap.c Rename lminor() to dev2unit(). This function gives a linear unit number 2000-09-19 10:28:44 +00:00
if_tap.h
if_tapvar.h
if_tun.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_tun.h
if_tunvar.h
if_types.h
if_var.h Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if_vlan_var.h
if_vlan.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
if.h
intrq.c Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
intrq.h
iso88025.h
net_osdep.c
net_osdep.h
netisr.h - Overhaul the software interrupt code to use interrupt threads for each 2000-10-25 05:19:40 +00:00
pfil.c Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
pfil.h
pfkeyv2.h
ppp_comp.h Remove bogus undocumented macros used to control conditional assembly. 2000-10-27 08:39:41 +00:00
ppp_deflate.c Remove #if DO_DEFLATE 2000-10-27 08:38:26 +00:00
ppp_defs.h
ppp_tty.c Removed unused includes (garbage left over/created by the SMPng megacommit). 2000-09-26 17:48:55 +00:00
radix.c Initialize rn_mklist in rn_newpair(). The undocumented assumption 2000-10-27 20:50:14 +00:00
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
route.c
route.h
rtsock.c
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h