summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strdup.c
diff options
context:
space:
mode:
authorkjc <kjc@openbsd.org>2001-06-27 06:34:39 +0000
committerkjc <kjc@openbsd.org>2001-06-27 06:34:39 +0000
commit8efdc62ac992003026e0b5684b93073a1ffdc735 (patch)
tree3a95202a04329459b6fc138dd666c98f93f3eba7 /lib/libc/string/strdup.c
parentIPFILTER->NPF (diff)
downloadwireguard-openbsd-8efdc62ac992003026e0b5684b93073a1ffdc735.tar.xz
wireguard-openbsd-8efdc62ac992003026e0b5684b93073a1ffdc735.zip
ALTQ'ify network drivers.
- use the new queue macros. - use IFQ_POLL() to peek at the next packet. - use IFQ_IS_EMPTY() for empty check. - drivers should always check if (m == NULL) after IFQ_DEQUEUE(), since it could return NULL even when IFQ_IS_EMPTY() is FALSE under rate-limiting. - drivers are supposed to call if_start from tx complete interrupts (in order to trigger the next dequeue under rate-limiting).
Diffstat (limited to 'lib/libc/string/strdup.c')
0 files changed, 0 insertions, 0 deletions