freebsd with flexible iflib nic queues
Go to file
Justin T. Gibbs 088b8b1d26 Implement the SLIST and the STAILQ macros. This gives a program all the
aesthetics of using the 4.4 queue macros without paying undo space or time
in scenartios where a singly-linked list works fine.

From queue.h:
/*
 * A singly-linked list is headed by a single forward pointer. The elements
 * are singly linked for minimum space and pointer manipulation overhead at
 * the expense of O(n) removal for arbitrary elements. New elements can be
 * added to the list after an existing element or at the head of the list.
 * Elements being removed from the head of the list should use the explicit
 * macro for this purpose for optimum efficiency. A singly-linked list may
 * only be traversed in the forward direction.  Singly-linked lists are ideal
 * for applications with large datasets and few or no removals or for
 * implementing a LIFO queue.
 *
 * A singly-linked tail queue is headed by a pair of pointers, one to the
 * head of the list and the other to the tail of the list. The elements are
 * singly linked for minimum space and pointer manipulation overhead at the
 * expense of O(n) removal for arbitrary elements. New elements can be added
 * to the list after an existing element, at the head of the list, or at the
 * end of the list. Elements being removed from the head of the tail queue
 * should use the explicit macro for this purpose for optimum efficiency.
 * A singly-linked tail queue may only be traversed in the forward direction.
 * Singly-linked tail queues are ideal for applications with large datasets
 * and few or no removals or for implementing a FIFO queue.
 */
1996-03-31 03:21:45 +00:00
bin Fixed typo. 1996-03-31 02:29:13 +00:00
eBones Big clean-up job. Remove ancient and never-to-be used stuff. 1996-03-11 16:17:58 +00:00
etc Add /usr/share/examples/perfmon. 1996-03-28 21:17:42 +00:00
games add missing include files 1996-03-13 23:38:21 +00:00
gnu Moved the include of <sys/types.h> to before the include of <dirent.h> 1996-03-29 14:00:25 +00:00
include Slightly simplify inlined functions 1996-03-25 13:46:21 +00:00
lib stat() before open() because opening of special files may be harmful. 1996-03-29 12:55:54 +00:00
libexec Here is a patch to talkd which makes it send the request to the tty with 1996-03-24 09:27:20 +00:00
lkm Add in qcam module (forgot) 1996-03-24 00:30:38 +00:00
release Add the jp.106 Japanese keymap to list of possibilities. I also see 1996-03-30 16:19:40 +00:00
sbin Fixed a type to match Lite2's fixed-width type changes. 1996-03-19 14:41:05 +00:00
secure Comment out the NOPROFILE=yes to make this orthogonal with the rest of our 1996-03-17 15:43:32 +00:00
share Also add an id for the donors section and reference it in a strategic 1996-03-30 19:46:37 +00:00
sys Implement the SLIST and the STAILQ macros. This gives a program all the 1996-03-31 03:21:45 +00:00
tools Don't look in libkern, it went away. 1995-12-29 01:51:23 +00:00
usr.bin Renamed Proc-cache to Dir-cache for the same reasons as in vmstat. 1996-03-29 14:48:25 +00:00
usr.sbin Put signal number into logfile 1996-03-30 18:27:45 +00:00
COPYRIGHT
Makefile Re-instate the bootstrap target which can be used to build tools 1996-03-24 13:16:45 +00:00