/freebsd/tests/sys/netpfil/common/ |
H A D | dummynet.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 49 atf_check -s exit:0 -o ignore ping -i .1 -c 3 -s 1200 192.0.2.2 60 atf_check -s exit:0 -o ignore ping -c 1 192.0.2.2 63 ping -c 5 -s 1200 192.0.2.2 & 96 atf_check -s exit:0 -o ignore ping -i .1 -c 3 -s 1200 192.0.2.2 107 atf_check -s exit:0 -o ignore ping -c 1 192.0.2.2 110 ping -i .1 -c 5 -s 1200 192.0.2.2 113 atf_check -s exit:2 -o ignore ping -c 1 -s 1200 192.0.2.2 140 atf_check -s exit:0 -o ignore ping6 -i .1 -c 3 -s 1200 2001:db8:42::2 151 atf_check -s exit:0 -o ignore ping6 -c 1 2001:db8:42::2 [all …]
|
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/mac/ |
H A D | DirectoryWatcher-mac.cpp | 1 //===- DirectoryWatcher-mac.cpp - Mac-platform directory watching ---------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 33 /// create foo/bar 35 /// create DirectoryWatcherMac for dir foo 38 /// modify foo/bar 42 /// delete foo/bar 49 dispatch_queue_t Queue, FSEventStreamRef EventStream, in DirectoryWatcherMac() argument 53 : Queue(Queue), EventStream(EventStream), Receiver(Receiver), in DirectoryWatcherMac() 59 // also uses Queue to not race with the initial scan. in ~DirectoryWatcherMac() [all …]
|
/freebsd/share/man/man4/ |
H A D | ng_pipe.4 | 2 .\" Copyright (c) 2004-2008 University of Zagreb 3 .\" Copyright (c) 2007-2008 FreeBSD Foundation 42 .Bl -tag -width ".Va upper" 64 Data received on a hook - both in upstream and downstream direction - 65 is put into an inbound queue. 66 If inbound queue is full, discard one frame 68 queue). 70 There are three mutually exclusive modes for the input queue: 71 .Bl -tag -width foo 73 A single queue holds packets in chronological order. [all …]
|
H A D | ng_car.4 | 39 .Bl -bullet -compact 45 RED-like rate limit algorithm used by Cisco, 51 .Bl -tag -width ".Va upper" 74 .Bl -tag -width foo 96 This behavior is similar to RED active queue management algorithm. 101 by queue with RED management and counted as yellow. 102 Packets dropped by queue counted as red. 103 Queue parameters are hardcoded: length 99 packets, min_th 8 packets, max_p 100%. 106 links with bandwidth * delay product less than 6-8 TCP segments, but it 107 consumes additional system resources for queue processing. [all …]
|
H A D | ng_hci.4 | 1 .\" Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> 44 Bluetooth is a short-range radio link intended to replace the cable(s) 59 The Bluetooth system provides a point-to-point connection (only two 60 Bluetooth units involved), or a point-to-multipoint connection. 61 In the point-to-multipoint connection, 68 In addition, many more slaves can remain locked to the master in a so-called 79 in different piconets on a time-division multiplex basis. 81 The piconets shall not be frequency-synchronized. 87 The slot numbering ranges from 0 to 2^27 -1 and is cyclic with a cycle length 91 The SCO link is a symmetric, point-to-point link between the master and a [all …]
|
/freebsd/share/man/man9/ |
H A D | style.9 | 2 .\" Copyright (c) 1995-2025 The FreeBSD Project 44 .Bd -literal 50 * VERY important single-line comments look like this. 53 /* Most single-line comments look like this. */ 58 * Multi-line comments look like this. Make them real sentences. Fill 64 Single-line comments should be consistently either C or C++ within a file. 65 Multi-line comments should also be consistently either C or C++, but may differ 66 from single-line comments. 68 The copyright header should be a multi-line comment like so: 69 .Bd -literal [all …]
|
H A D | mbuf_tags.9 | 60 Mbuf tags allow additional meta-data to be associated with in-flight packets 98 .Bd -literal 111 .Xr queue 3 125 bytes of space that can be used to store tag-specific information. 130 .Bd -literal -offset indent 131 struct foo { 135 struct foo *p = (struct foo *)m_tag_alloc(...); 136 struct m_tag *mtag = &p->tag; 156 .Bl -ohang -offset indent 273 The tag-manipulating code is contained in the file [all …]
|
/freebsd/contrib/googletest/docs/ |
H A D | primer.md | 24 platform-neutral; its tests should also be platform-neutral. GoogleTest 30 tests that report non-fatal failures after which the current test continues. 31 Thus, you can detect and fix multiple bugs in a single run-edit-compile 38 across tests and pay for the set-up/tear-down only once, without making 72 :----------------------------------------------------------------------------------- | :-----------… 73 …am path with specific input values and verify the results | [TEST()](#simple-tests) | [Test Case][… 76 [istqb test case]: https://glossary.istqb.org/en_US/term/test-case-2 77 [istqb test suite]: https://glossary.istqb.org/en_US/term/test-suite-1-3 116 possibly skipping clean-up code that comes after it, it may cause a space leak. 117 Depending on the nature of the leak, it may or may not be worth fixing - so keep [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
H A D | kstat.h | 9 * or https://opensource.org/licenses/CDDL-1.0. 62 #define KSTAT_STRLEN 255 /* 254 chars + NULL; must be 16 * n - 1 */ 82 void *ks_data; /* kstat type-specific data */ 83 uint_t ks_ndata; /* # of type-specific data records */ 90 void *ks_private; /* arbitrary provider-private data */ 102 * *optionally* protected by the per-kstat ks_lock. If ks_lock is non-NULL, 110 * NOTE: variable-size kstats MUST employ kstat data locking, to prevent 111 * data-size races with kstat clients. 115 * kernel's lock-related data structures. 121 { kmutex_t *lp = (k)->ks_lock; if (lp) mutex_enter(lp); } [all …]
|
/freebsd/usr.bin/clang/llvm-mca/ |
H A D | llvm-mca.1 | 4 .nr rst2man-indent-level 0 7 \\$1 \\n[an-margin] 8 level \\n[rst2man-indent-level] 9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 - 11 \\n[rst2man-indent0] 12 \\n[rst2man-indent1] 13 \\n[rst2man-indent2] 18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 . nr rst2man-indent-level +1 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/misc/ |
H A D | intel,ixp4xx-ahb-queue-manager.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/misc/intel,ixp4xx-ahb-queu [all...] |
/freebsd/tests/sys/netpfil/pf/ |
H A D | altq.sh | 22 atf_check -s exit:0 -o ignore ping -i .1 -c 3 -s 1200 192.0.2.2 24 jexec altq_hfsc pfctl -e 26 "altq on ${epair}b bandwidth 100b hfsc queue { default }" \ 27 "queue default hfsc(default linkshare 80b)" \ 31 atf_check -s exit:0 -o ignore ping -c 1 192.0.2.2 34 ping -i .1 -c 5 -s 1200 192.0.2.2 37 atf_check -s exit:2 -o ignore ping -c 1 -s 1200 192.0.2.2 64 atf_check -s exit:0 -o ignore ping -i .1 -c 3 -s 1200 192.0.2.2 66 jexec altq_match pfctl -e 68 "altq on ${epair}b bandwidth 100000000b hfsc queue { default, slow }" \ [all …]
|
/freebsd/contrib/sendmail/cf/ |
H A D | README | 9 To get started, you may want to look at tcpproto.mc (for TCP-only 11 mail host), or the generic-*.mc files as operating system-specific 30 ANTI-SPAM CONFIGURATION CONTROL 36 QUEUE GROUP DEFINITIONS 37 NON-SMTP BASED CONFIGURATIONS 51 +--------------------------+ 53 +--------------------------+ 57 You must pre-load "cf.m4": 70 or the -I flag (ditto), then ${CFDIR} can be in an arbitrary directory. 72 use -D_CF_DIR_=/path/to/cf/dir/ -- note the trailing slash! For example: [all …]
|
/freebsd/sys/geom/ |
H A D | geom.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2002 Poul-Henning Kamp 8 * This software was developed for the FreeBSD Project by Poul-Henning Kamp 10 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 44 #include <sys/queue.h> 158 * The g_bioq is a queue of struct bio's. 313 #define G_VALID_CLASS(foo) \ argument 314 KASSERT(g_valid_obj(foo) == 1, ("%p is not a g_class", foo)) 315 #define G_VALID_GEOM(foo) \ argument [all …]
|
/freebsd/contrib/sendmail/contrib/ |
H A D | domainmap.m4 | 1 divert(-1)changequote(<<, >>)<< 2 ----------------------------------------------------------------------------- 12 3. Ability to use a centralized network-accessible database (such as 14 fully-qualified email address). 22 FEATURE(domainmap, `foo.com', `dbm -o /etc/mail/foo-users')dnl 24 In this example, mail sent to user@foo.com will be rewritten by the 26 /etc/mail/foo-users, which looks like this: 27 jsmith johnsmith@mailbox.foo.com 30 So mail sent to jsmith@foo.com will be relayed to 31 johnsmith@mailbox.foo.com, and mail sent to jdoe@foo.com will be [all …]
|
H A D | mmuegel | 2 Message-Id: <199307280818.AA08111@cssun6.corp.mot.com> 5 Date: Wed, 28 Jul 1993 03:18:02 -0500 (CDT) 6 In-Reply-To: <199307221853.LAA04266@mastodon.CS.Berkeley.EDU> from "Eric Allman" at Jul 22, 93 11:5… 7 X-Mailer: ELM [version 2.4 PL22] 8 Mime-Version: 1.0 9 Content-Type: text/plain; charset=US-ASCII 10 Content-Transfer-Encoding: 7bit 11 Content-Length: 69132 16 -Mike 18 ---- Cut Here and feed the following to sh ---- [all …]
|
H A D | bsdi.mc | 1 Return-Path: sanders@austin.BSDI.COM 2 ….Beta0) with ESMTP id KAA28278 for <eric@orodruin.CS.Berkeley.EDU>; Sat, 10 Dec 1994 10:49:08 -0800 3 ….9/8.6.6.Beta11) with ESMTP id KAA09482 for <eric@cs.berkeley.edu>; Sat, 10 Dec 1994 10:49:03 -0800 4 …OM (8.6.9/8.6.9) with ESMTP id MAA14919 for <eric@cs.berkeley.edu>; Sat, 10 Dec 1994 12:49:01 -0600 5 Message-Id: <199412101849.MAA14919@austin.BSDI.COM> 8 In-reply-to: Your message of Sat, 10 Dec 1994 08:25:30 PST. 12 Date: Sat, 10 Dec 1994 12:49:00 -0600 33 # sh -c 'set `cat /var/run/sendmail.pid`; kill $1; shift; eval "$@"' 38 VERSIONID(`@(#)$Id: bsdi.mc,v 8.1 1999-02-06 18:44:08 gshapiro Exp $') 43 dnl # NOTE: `dnl' is the m4 command for delete-to-newline; these are [all …]
|
/freebsd/sys/net/ |
H A D | netmap.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2011-2014 Matteo Landi, Luigi Rizzo. All rights reserved. 48 * Some fields should be cache-aligned to reduce contention. 56 * --- Netmap data structures --- 68 +---->+---------------+ 71 +----------------+ / | other fields | 75 | | / +---------------+ 77 | txring_ofs[0] | (rel.to nifp)--' | flags, ptr | 78 | txring_ofs[1] | +---------------+ [all …]
|
/freebsd/usr.sbin/lpr/lpr/ |
H A D | lpr.1 | 43 .Op Fl Z Ar daemon-options 63 .Bl -tag -width indent 87 .Bl -tag -width indent 113 .Bl -tag -width indent 144 .Bl -tag -width indent 150 .Bd -literal -offset indent 151 lpr \-#3 foo.c bar.c more.c 153 would result in 3 copies of the file foo.c, followed by 3 copies 156 .Bd -literal -offset indent 157 cat foo.c bar.c more.c \&| lpr \-#3 [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXLowerArgs.cpp | 1 //===-- NVPTXLowerArgs.cpp - Lower arguments ------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 // http://docs.nvidia.com/cuda/parallel-thread-execution/#state-spaces 14 // Kernel parameters are read-only and accessible only via ld.param 29 // 1. Convert non-byval pointer arguments of CUDA kernels to pointers in the 34 // define void @foo(float* %input) { 41 // define void @foo(float* %input) { 50 // define void @foo(float* %input) { 65 // __global__ void foo(S s) { [all …]
|
/freebsd/contrib/ncurses/misc/ |
H A D | makedef.cmd | 36 * makedef.cmd - update a DLL export list using a newly created library file 45 * returns 1 when the old def_file is corrupted -- that is, export items are 68 tmp_name = 'foo.tmp' 74 tidy_up = '"/^[A-Z]/d;s/[ ][ ]*/ /g;s/;.*$//g;s/^[ ]*//g;/^[ ]*$/d"' 84 'emxexp -u' lib_file '>' tmp_name 90 * This loop runs over the queue items 171 * Cleans the REXX queue by pulling and forgetting every line. 177 parse pull foo
|
/freebsd/sys/contrib/dev/athk/ |
H A D | ath.h | 2 * Copyright (c) 2008-2009 Atheros Communications Inc. 33 * and station state to short-circuit node lookups on rx. 122 * struct ath_ops - Register read/write operations 196 return common->ps_ops; in ath_ps_ops() 235 * enum ath_debug_level - atheros wireless debug level 238 * @ATH_DBG_QUEUE: hardware queue management 253 * used exclusively for WLAN-BT coexistence starting from 263 * modifying debug level states -- but this is typically done through a 299 if ((common)->debug_mask & ATH_DBG_##dbg_mask) \ 303 #define ATH_DBG_WARN(foo, arg...) WARN(foo, arg) argument [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_ilist.h | 1 //===-- tsan_ilist.h --------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 33 // Intrusive doubly-linked list. 35 // The node class (MyNode) needs to include "INode foo" field, 36 // then the list can be declared as IList<MyNode, &MyNode::foo>. 55 // Prev links point towards front of the queue. 57 // Next links point towards back of the queue. 94 DCHECK_EQ(n->next_, nullptr); in Push() [all …]
|
/freebsd/sys/fs/fuse/ |
H A D | fuse_file.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2007-2009 Google Inc. and Amit Singh 72 #include <sys/queue.h> 132 const struct fuse_open_out *foo; in fuse_filehandle_open() local 151 foo = &default_foo; in fuse_filehandle_open() 156 foi->flags = oflags; in fuse_filehandle_open() 161 foo = &default_foo; in fuse_filehandle_open() 172 foo = fdi.answ; in fuse_filehandle_open() 177 fuse_filehandle_init(vp, fufh_type, fufhp, td, cred, foo); in fuse_filehandle_open() [all …]
|
/freebsd/sys/contrib/vchiq/interface/vchi/ |
H A D | vchi_common.h | 2 * Copyright (c) 2010-2012 Broadcom. All rights reserved. 13 * 3. The names of the above-listed copyright holders may not be used 44 …VCHI_FLAGS_BLOCK_UNTIL_QUEUED = 0x4, // return once the transfer is in a queue ready to go 59 VCHI_CRC_NOTHING = -1, 133 * Define vector struct for scatter-gather (vector) operations 134 * Vectors can be nested - if a vector element has negative length, then 136 * '-vec_len' elements. Thus to append a header onto an existing vector, 139 * void foo(const VCHI_MSG_VECTOR_T *v, int n) 145 * nv[1].vec_len = -n; 161 // Iterator structure for reading ahead through received message queue. Allocated by client, [all …]
|