| /freebsd/sbin/pfctl/tests/files/ |
| H A D | pf0002.ok | 1 block drop out log on tun1000000 all 2 block drop in log on tun1000000 all 3 block return-rst out log on tun1000000 proto tcp all 4 block return-rst in log on tun1000000 proto tcp all 5 block return-icmp(port-unr, port-unr) out log on tun1000000 proto udp all 6 block return-icmp(port-unr, port-unr) in log on tun1000000 proto udp all 7 block drop out log quick on tun1000000 inet from ! 157.161.48.183 to any 8 block drop in quick on tun1000000 inet from any to 255.255.255.255 9 block drop in log quick on tun1000000 inet from 10.0.0.0/8 to any 10 block drop in log quick on tun1000000 inet from 172.16.0.0/12 to any [all …]
|
| H A D | pf0007.ok | 1 block drop out log on tun1000000 all 2 block drop in log on tun1000000 all 3 block return-rst out log on tun1000000 proto tcp all 4 block return-rst in log on tun1000000 proto tcp all 5 block return-icmp(port-unr, port-unr) out log on tun1000000 proto udp all 6 block return-icmp(port-unr, port-unr) in log on tun1000000 proto udp all 7 block drop out log quick on tun1000000 inet from ! 157.161.48.183 to any 8 block drop in quick on tun1000000 inet from any to 255.255.255.255 9 block drop in log quick on tun1000000 inet from 10.0.0.0/8 to any 10 block drop in log quick on tun1000000 inet from 172.16.0.0/12 to any [all …]
|
| H A D | pf0040.ok | 1 block drop all 3 block return-rst proto tcp all 6 pass out all no state 8 block drop in all 9 block drop out all 10 block drop all 12 pass out all flags S/SA keep state 13 block drop on lo0 all 15 block drop on lo0 all 19 pass out proto udp all keep state [all …]
|
| /freebsd/crypto/heimdal/lib/krb5/ |
| H A D | scache.c | 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 61 #define SCACHE(X) ((krb5_scache *)(X)->data.data) 63 #define SCACHE_DEF_NAME "Default-cache" 71 #define SCACHE_INVALID_CID ((sqlite_uint64)-1) 156 if (s->file) in scc_free() 157 free(s->file); in scc_free() 158 if (s->name) in scc_free() 159 free(s->name); in scc_free() 161 if (s->icred) in scc_free() 162 sqlite3_finalize(s->icred); in scc_free() [all …]
|
| /freebsd/stand/forth/ |
| H A D | version.4th | 1 \ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org> 22 \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 marker task-version.4th 28 vocabulary version-processing 29 only forth also version-processing definitions 35 : str_loader_version ( -- C-ADDR/U|-1 ) -1 ; 38 80 versionX ! \ NOTE: this is the ending column (text is right-justified) 41 only forth definitions also version-processing 43 : print_version ( -- ) 46 s" loader_version_x" getenv dup -1 <> if [all …]
|
| H A D | support.4th | 22 \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 \ initialize ( addr len -- ) as above, plus load_conf_files 29 \ load_conf ( addr len -- ) load conf file given 30 \ include_conf_files ( -- ) load all conf files in load_conf_files 31 \ print_syntax_error ( -- ) print line and marker of where a syntax 33 \ print_line ( -- ) print last line processed 34 \ load_kernel ( -- ) load kernel 35 \ load_modules ( -- ) load modules flagged 62 \ strdup ( addr len -- addr' len) similar to strdup(3) 63 \ strcat ( addr len addr' len' -- addr len+len' ) similar to strcat(3) [all …]
|
| H A D | beastie.4th | 3 \ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org> 24 \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 marker task-beastie.4th 43 \ NOTE: Each is defined as a logo function in /boot/logo-${loader_logo}.4th 44 \ NOTE: If `/boot/logo-${loader_logo}.4th' does not exist or does not define 47 : draw-beastie ( -- ) \ at (loader_logo_x,loader_logo_y), else (46,4) 49 s" loader_logo_x" getenv dup -1 <> if 51 else drop then 52 s" loader_logo_y" getenv dup -1 <> if 54 else drop then [all …]
|
| H A D | brand.4th | 1 \ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org> 22 \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 marker task-brand.4th 36 \ loader_brand_y) if defined, or (2,1) (top-left). To choose your brand, set 39 \ NOTE: Each is defined as a brand function in /boot/brand-${loader_brand}.4th 40 \ NOTE: If `/boot/brand-${loader_brand}.4th' does not exist or does not define 43 : draw-brand ( -- ) \ at (loader_brand_x,loader_brand_y), else (2,1) 45 s" loader_brand_x" getenv dup -1 <> if 47 else drop then 48 s" loader_brand_y" getenv dup -1 <> if [all …]
|
| H A D | check-password.4th | 1 \ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org> 22 \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 marker task-check-password.4th 30 vocabulary password-processing 31 only forth also password-processing definitions 35 21 constant ctrl_u \ The decimal ASCII value for Ctrl-U sequence 38 variable read-tick \ Twiddle position (used by read) 39 variable read-start \ Starting X offset (column)(used by read) 52 : sgetkey ( -- ) 56 drop \ Remove stack-cruft [all …]
|
| H A D | menusets.4th | 22 \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 marker task-menusets.4th 28 vocabulary menusets-infrastructure 29 only forth also menusets-infrastructure definitions 37 : menuset-loadvar ( -- ) 48 s" cmdbuf" getenv swap drop ( -- u1 ) \ get string length 51 ( u1 -- u1 c-addr2 u2 ) 54 ( u1 -- u1 c-addr2 u2 ) 56 evaluate ( u1 c-addr2 u2 -- u1 ) 57 s" cmdbuf" getenv ( u1 -- u1 c-addr2 u2 ) [all …]
|
| H A D | loader.4th | 2 \ Copyright (c) 2011-2015 Devin Teske <dteske@FreeBSD.org> 23 \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 s" u>" sfind [if] drop [else] 31 drop 33 2dup u< if 2drop 0 exit then 34 swap u< if -1 exit then 40 s" xemit" sfind [if] drop [else] 41 drop 48 begin dup 0x80 u< 0= while emit repeat drop 52 s" arch-i386" environment? [if] [if] [all …]
|
| H A D | menu.4th | 3 \ Copyright (c) 2006-2015 Devin Teske <dteske@FreeBSD.org> 24 \ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 marker task-menu.4th 33 vocabulary menu-infrastructure 34 vocabulary menu-namespace 35 vocabulary menu-command-helpers 37 only forth also menu-infrastructure definitions 65 \ Menu-item elements 68 \ Parsing of kernels into menu-items 73 \ Menu timer [count-down] variables [all …]
|
| /freebsd/contrib/bearssl/src/ssl/ |
| H A D | ssl_hs_common.t0 | 19 \ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 23 \ ---------------------------------------------------------------------- 37 #define ENG ((br_ssl_engine_context *)(void *)((unsigned char *)t0ctx - offsetof(br_ssl_engine_con… 64 \ -- Some handshake data is expected. 66 \ -- The handshake is finished, and application data may flow. There may 70 \ -- Some change-cipher-spec data is expected. 72 \ -- An alert record is expected. Other types of incoming records will be 75 \ -- Waiting for the currently accumulated record to be sent and the 79 : NYI ( -- ! ) 80 "NOT YET IMPLEMENTED!" puts cr -1 fail ; [all …]
|
| H A D | ssl_hs_server.t0 | 19 \ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 23 \ ---------------------------------------------------------------------- 40 * Decrypt the pre-master secret (RSA key exchange). 52 x = (*ctx->policy_vtable)->do_keyx(ctx->policy_vtable, epms, &len); 61 br_enc16be(epms, ctx->client_max_version); 65 * decryption failed. Note that we use a constant-time conditional 68 br_hmac_drbg_generate(&ctx->eng.rng, rpms, sizeof rpms); 74 br_ssl_engine_compute_master(&ctx->eng, prf_id, epms, 48); 77 * Clear the pre-master secret from RAM: it is normally a buffer 78 * in the context, hence potentially long-lived. [all …]
|
| /freebsd/usr.sbin/tcpdrop/ |
| H A D | tcpdrop.8 | 15 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 23 .Nd drop TCP connections 26 .Ar local-address 27 .Ar local-port 28 .Ar foreign-address 29 .Ar foreign-port 35 .Fl C Ar cc-algo 40 .Op Fl C Ar cc-algo 45 .Op Fl C Ar cc-algo 51 command may be used to drop TCP connections from the command line. [all …]
|
| /freebsd/sys/netpfil/ipfw/ |
| H A D | dn_aqm_codel.h | 2 * Codel - The Controlled-Delay Active Queue Management algorithm. 8 * Implemented by Rasool Al-Saadi <ralsaadi@swin.edu.au> 10 * Copyright (C) 2011-2014 Kathleen Nichols <nichols@pollere.com>. 43 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 66 uint32_t count; /* number of dropped pkts since entering drop state */ 68 aqm_time_t drop_next_time; /* time for next drop */ 89 cst = q->aqm_status; in codel_dodequeue() 92 /* queue is empty - we can't be above target */ in codel_dodequeue() 93 cst->first_above_time= 0; in codel_dodequeue() 97 cprms = q->fs->aqmcfg; in codel_dodequeue() [all …]
|
| H A D | dn_sched_fq_codel_helper.h | 2 * Codel - The Controlled-Delay Active Queue Management algorithm. 8 * Implemented by Rasool Al-Saadi <ralsaadi@swin.edu.au> 10 * Copyright (C) 2011-2014 Kathleen Nichols <nichols@pollere.com>. 43 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 55 struct fq_codel_schk *schk = (struct fq_codel_schk *)(si->_si.sched+1); in fqc_dodequeue() 62 /*queue is empty - we can't be above target*/ in fqc_dodequeue() 63 q->cst.first_above_time= 0; in fqc_dodequeue() 68 * different AQMs in parallel. One is sojourn-time-based in fqc_dodequeue() 69 * and takes effect when the time to send an MTU-sized in fqc_dodequeue() 71 * below does this. The other is backlog-based and takes in fqc_dodequeue() [all …]
|
| H A D | dn_aqm_pie.h | 2 * PIE - Proportional Integral controller Enhanced AQM algorithm. 8 * Implemented by Rasool Al-Saadi <ralsaadi@swin.edu.au> 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 41 /* 31-bits because random() generates range from 0->(2**31)-1 */ 43 #define PIE_MAX_PROB ((1LL<<PIE_PROB_BITS) -1) 45 /* for 16-bits, we have 3-bits for integer part and 13-bits for fraction */ 61 aqm_time_t tupdate; /* a period to calculate drop probability (default:15ms) */ 82 /* pointer to parent queue of FQ-PIE sub-queues, or queue of owner fs. */ 90 DROP, enumerator 101 * Check if eneque should drop packet to control delay or not based on [all …]
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_handle.c | 62 if (dtp->dt_errhdlr != NULL) in dtrace_handle_err() 70 if (dtp->dt_options[DTRACEOPT_GRABANON] != DTRACEOPT_UNSET) in dtrace_handle_err() 71 goto out; in dtrace_handle_err() 77 stp = dt_list_next(&pgp->dp_stmts); in dtrace_handle_err() 80 edp = stp->ds_desc->dtsd_ecbdesc; in dtrace_handle_err() 82 edp->dted_uarg = DT_ECB_ERROR; in dtrace_handle_err() 84 out: in dtrace_handle_err() 85 dtp->dt_errhdlr = hdlr; in dtrace_handle_err() 86 dtp->dt_errarg = arg; in dtrace_handle_err() 87 dtp->dt_errprog = pgp; in dtrace_handle_err() [all …]
|
| /freebsd/sys/net/altq/ |
| H A D | altq_rio.c | 1 /*- 2 * Copyright (C) 1998-2003 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 /*- 27 * Copyright (c) 1990-1994 Regents of the University of California. 55 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 96 * RIO: RED with IN/OUT bit 100 * http://diffserv.lcs.mit.edu/Papers/exp-alloc-ddc-wf.{ps,pdf} 102 * this implementation is extended to support more than 2 drop precedence 108 * (classes can be mapped to CBQ or H-FSC classes.) [all …]
|
| H A D | altq_red.c | 1 /*- 2 * Copyright (C) 1997-2003 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 /*- 28 * Copyright (c) 1990-1994 Regents of the University of California. 56 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 100 * ALTQ/RED (Random Early Detection) implementation using 32-bit 101 * fixed-point calculation. 105 * http://www-nrg.ee.lbl.gov/floyd/ 108 * to prevent fixed-point overflow/underflow. [all …]
|
| H A D | altq_rio.h | 1 /*- 2 * Copyright (C) 1998-2003 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * RIO: RED with IN/OUT bit 36 * (extended to support more than 2 drop precedence values) 38 #define RIO_NDROPPREC 3 /* number of drop precedence values */ 49 /* per drop precedence structure */ 52 int inv_pmax; /* inverse of max drop probability */ 59 int probd; /* drop probability denominator */
|
| /freebsd/contrib/bearssl/src/codec/ |
| H A D | pemdec.t0 | 19 \ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 27 #define CTX ((br_pem_decoder_context *)(void *)((unsigned char *)t0ctx - offsetof(br_pem_decoder_… 34 ctx->cpu.dp = &ctx->dp_stack[0]; 35 ctx->cpu.rp = &ctx->rp_stack[0]; 36 br_pem_decoder_init_main(&ctx->cpu); 37 br_pem_decoder_run(&ctx->cpu); 45 if (ctx->event) { 48 ctx->hbuf = data; 49 ctx->hlen = len; 50 br_pem_decoder_run(&ctx->cpu); [all …]
|
| /freebsd/sys/netgraph/bluetooth/l2cap/ |
| H A D | ng_l2cap_ulpi.c | 5 /*- 6 * SPDX-License-Identifier: BSD-2-Clause 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 73 if (msg->header.arglen != sizeof(*ip)) { in ng_l2cap_l2ca_con_req() 75 "%s: %s - invalid L2CA_Connect request message size, size=%d\n", in ng_l2cap_l2ca_con_req() 76 __func__, NG_NODE_NAME(l2cap->node), in ng_l2cap_l2ca_con_req() 77 msg->header.arglen); in ng_l2cap_l2ca_con_req() 79 goto out; in ng_l2cap_l2ca_con_req() 82 ip = (ng_l2cap_l2ca_con_ip *)(msg->data); in ng_l2cap_l2ca_con_req() 85 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr, ip->linktype); in ng_l2cap_l2ca_con_req() [all …]
|
| /freebsd/sys/netgraph/ |
| H A D | ng_cisco.c | 5 /*- 6 * Copyright (c) 1996-1999 Whistle Communications, Inc. 24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. 29 * RESULTING FROM OR ARISING OUT OF ANY USE OF THIS SOFTWARE, INCLUDING 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 91 uint16_t af; /* address family, -1 = downstream */ 97 uint32_t seqRetries; /* how many times we've been here throwing out 191 ng_callout_init(&sc->handle); in cisco_constructor() 193 sc->node = node; in cisco_constructor() 196 sc->downstream.af = 0xffff; in cisco_constructor() [all …]
|