/freebsd/tests/sys/netpfil/pf/ |
H A D | killstate.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 4 # Copyright (c) 2021 Rubicon Communications, LLC (Netgate) 33 jail=${1:-alcatraz} 34 ip=${2:-192.0.2.2} 36 jexec ${jail} pfctl -ss | grep icmp | grep ${ip} 41 jexec alcatraz pfctl -ss | grep icmp | grep 2001:db8::2 48 atf_set descr 'Test killing states by IPv4 address' 62 jexec alcatraz pfctl -e 69 atf_check -s exit:0 -o ignore ${common_dir}/pft_ping.py \ 70 --sendif ${epair}a \ [all …]
|
H A D | src_track.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 4 # Copyright (c) 2020 Kristof Provost <kp@FreeBSD.org> 5 # Copyright (c) 2024 Kajetan Staszkiewicz <vegeta@tuxpowered.net> 49 jexec alcatraz pfctl -e 51 "pass in keep state (source-track)" \ 52 "pass out keep state (source-track)" 54 ping -c 3 192.0.2.1 55 atf_check -s exit:0 -o match:'192.0.2.2 -> 0.0.0.0 \( states 1,.*' \ 56 jexec alcatraz pfctl -sS 59 jexec alcatraz pfctl -FS [all …]
|
H A D | syncookie.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 4 # Copyright (c) 2021 Modirum MDPay 35 jexec $jail pfctl -si -v | grep -A 2 '^Syncookies' | grep active \ 54 jexec alcatraz /usr/sbin/inetd -p ${PWD}/inetd-alcatraz.pid \ 59 jexec alcatraz pfctl -e 66 atf_check -s exit:0 -o ignore ping -c 1 192.0.2.1 68 reply=$(echo foo | nc -N -w 5 192.0.2.1 7) 84 rm -f ${PWD}/inetd-alcatraz.pid 103 jexec alcatraz /usr/sbin/inetd -p ${PWD}/inetd-alcatraz.pid \ 108 jexec alcatraz pfctl -e [all …]
|
H A D | get_state.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 4 # Copyright (c) 2021 Rubicon Communications, LLC (Netgate) 34 atf_set descr 'Test retrieving many states' 48 jexec alcatraz pfctl -e 55 atf_check -s exit:0 -o ignore ping -c 1 -W 1 192.0.2.2 57 # Now syn flood to create many states 59 --sendif ${epair}a \ 60 --to 192.0.2.2 \ 61 --count 20000 63 count=$(time jexec alcatraz pfctl -ss | wc -l 2>time.txt) [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DFAEmitter.h | 1 //===--------------------- DfaEmitter.h -----------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // states that represent a nondeterministic finite state automaton (NFA) and 15 //===----------------------------------------------------------------------===// 35 /// The state type is a 64-bit unsigned integer. The generated automaton is 36 /// invariant to the sparsity of the state representation - its size is only 37 /// a function of the cardinality of the set of states. 57 /// Emit the C++ type of an action to OS. 59 /// Emit the C++ value of an action A to OS. [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | Automaton.td | 1 //===- Automaton.td ----------------------------------------*- tablegen -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines the key top-level classes needed to produce a reasonably 10 // generic finite-state automaton. 12 //===----------------------------------------------------------------------===// 15 // generic finite-state automaton over a set of actions and states. 20 // 3) a transition function from state + action -> state. 23 // Q: A set of possible states. 25 // d: (delta) The transition function f(q in Q, s in S) -> q' in Q. [all …]
|
/freebsd/usr.bin/calendar/calendars/ |
H A D | calendar.freebsd | 10 01/01 Alexander Langer <alex@FreeBSD.org> born in Duesseldorf, Nordrhein-Westfalen, Germany, 1981 11 01/01 Zach Leslie <zleslie@FreeBSD.org> born in Grand Junction, Colorado, United States, 1985 12 01/02 Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org> born in Bucharest, Romania, 1980 18 01/06 Philippe Audeoud <jadawin@FreeBSD.org> born in Bretigny-Sur-Orge, France, 1980 21 01/10 Jean-Yves Lefort <jylefort@FreeBSD.org> born in Charleroi, Belgium, 1980 23 01/12 Yen-Ming Lee <leeym@FreeBSD.org> born in Taipei, Taiwan, Republic of China, 1977 24 01/12 Ying-Chieh Liao <ijliao@FreeBSD.org> born in Taipei, Taiwan, Republic of China, 1979 27 01/14 Yi-Jheng Lin <yzlin@FreeBSD.org> born in Taichung, Taiwan, Republic of China, 1985 28 01/15 Anne Dickison <anne@FreeBSD.org> born in Madison, Indiana, United States, 1976 34 01/19 Marshall Kirk McKusick <mckusick@FreeBSD.org> born in Wilmington, Delaware, United States, 19… [all …]
|
/freebsd/sbin/pfctl/ |
H A D | pfctl.8 | 3 .\" Copyright (c) 2001 Kjell Wooding. All rights reserved. 35 .Bk -words 111 .Bl -tag -width Ds 150 .Bd -literal -offset indent 151 # pfctl -a "authpf/smith(1234)" -s rules 158 .Bd -literal -offset indent 159 # pfctl -a foo/bar -t mytable -T add 1.2.3.4 5.6.7.8 165 This is similar to C rules for variable scope. 180 .Bd -literal -offset indent 181 # pfctl -a 'authpf/*' -sr [all …]
|
/freebsd/contrib/nvi/regex/ |
H A D | engine.c | 1 /* $NetBSD: engine.c,v 1.7 2011/11/19 17:45:11 tnozaki Exp $ */ 3 /*- 4 * Copyright (c) 1992, 1993, 1994 Henry Spencer. 5 * Copyright (c) 1992, 1993, 1994 35 * @(#)engine.c 8.4 (Berkeley) 3/19/94 39 * The matching engine and friends. This file is #included by regexec.c 74 const RCHAR_T *beginp; /* start of string -- virtual NUL precedes */ 75 const RCHAR_T *endp; /* end of string -- virtual NUL here */ 79 states st; /* current states */ 80 states fresh; /* states for a fresh start */ [all …]
|
/freebsd/sbin/ipf/ipfstat/ |
H A D | ipfstat.8 | 3 ipfstat \- reports on packet filter statistics and filter list 7 .B \-46aAdfghIilnoRsv 10 .B ipfstat -t 12 .B \-6C 14 .B \-D 17 .B \-P 20 .B \-S 23 .B \-T 37 .B \-4 38 Display filter lists and states for IPv4, if available. This is the default [all …]
|
/freebsd/lib/libc/regex/ |
H A D | engine.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1992, 1993, 1994 Henry Spencer. 5 * Copyright (c) 1992, 1993, 1994 39 * The matching engine and friends. This file is #included by regexec.c 85 const char *beginp; /* start of string -- virtual NUL precedes */ 86 const char *endp; /* end of string -- virtual NUL here */ 90 states st; /* current states */ 91 states fresh; /* states for a fresh start */ 92 states tmp; /* temporary */ [all …]
|
/freebsd/contrib/flex/src/ |
H A D | flexdef.h | 2 /* flexdef - definitions file for flex */ 4 /* Copyright (c) 1990 The Regents of the University of California. */ 10 /* The United States Government has rights in this work pursuant */ 11 /* to contract no. DE-AC03-76SF00098 between the United States */ 90 /* Always be prepared to generate an 8-bit scanner. */ 93 /* Size of input alphabet - should be size of ASCII set. */ 108 #define ABS(x) ((x) < 0 ? -(x) : (x)) 112 #define is_power_of_2(n) ((n) > 0 && ((n) & ((n) - 1)) == 0) 114 #define unspecified -1 116 /* Special chk[] values marking the slots taking by end-of-buffer and action [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_work.c | 1 /*- 2 * Copyright (c) 2017-2019 Hans Petter Selasky 38 * Define all work struct states 41 WORK_ST_IDLE, /* idle - not started */ 74 int c, old; in linux_update_state() local 76 c = v->counter; in linux_update_state() 78 while ((old = atomic_cmpxchg(v, c, pstate[c])) != c) in linux_update_state() 79 c = old; in linux_update_state() 81 return (c); in linux_update_state() 99 wq = work->work_queue; in linux_work_exec_unblock() [all …]
|
/freebsd/contrib/libxo/libxo/ |
H A D | xo_explicit.h | 2 * Copyright (c) 2019, Juniper Networks, Inc. 17 * explicit transition between libxo states on its internal stack. 23 * A word about states: We use a finite state machine (FMS) approach 31 * You can think of states as either states or events, since they 33 * persist as states, since the matching stack frame will be popped. 38 /* Stack frame states */ 52 #define XSS_EMIT_LEAF_LIST 12 /* xo_emit has a leaf-list ({l:}) */
|
/freebsd/share/doc/psd/15.yacc/ |
H A D | ss4 | 1 .\" Copyright (C) Caldera International Inc. 2001-2002. All rights reserved. 39 Yacc turns the specification file into a C program, which 60 The states of the finite state machine are given 82 This may result in states being pushed onto the stack, or popped off of 140 To reduce, first pop off the top three states 142 (In general, the number of states popped equals the number of symbols on the 144 In effect, these states were the ones 151 After popping these states, a state is uncovered 173 popping the states off the stack to go back to the 177 no states are popped off of the stack: the uncovered state [all …]
|
/freebsd/contrib/dialog/ |
H A D | checklist.c | 2 * $Id: checklist.c,v 1.167 2020/11/23 00:37:47 tom Exp $ 4 * checklist.c -- implements the checklist box 6 * Copyright 2000-2019,2020 Thomas E. Dickey 25 * Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension 26 * Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two 35 /* the outer-window */ 44 /* the inner-window */ 48 const char *states; member 59 const char *states, in print_item() argument 67 int climit = (getmaxx(win) - data->check_x + 1); in print_item() [all …]
|
H A D | treeview.c | 2 * $Id: treeview.c,v 1.43 2020/11/23 00:38:31 tom Exp $ 4 * treeview.c -- implements the treeview dialog 6 * Copyright 2012-2019,2020 Thomas E. Dickey 31 /* the outer-window */ 40 /* the inner-window */ 45 const char *states; member 55 const char *states, in print_item() argument 60 WINDOW *win = data->list; in print_item() 64 int climit = (getmaxx(win) - data->check_x + 1); in print_item() 66 ? item->name in print_item() [all …]
|
/freebsd/sys/netinet6/ |
H A D | ip_fw_nat64.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2015-2019 Yandex LLC 5 * Copyright (c) 2015 Alexander V. Chernikov <melifaro@FreeBSD.org> 6 * Copyright (c) 2015-2019 Andrey V. Elsukov <ae@FreeBSD.org> 82 uint64_t screated; /* Number of states created */ 83 uint64_t sdeleted; /* Number of states deleted */ 128 #define NAT64LSN_UDP_AGE 120 /* TTL for UDP states */ 129 #define NAT64LSN_ICMP_AGE 60 /* TTL for ICMP states */ 158 uint8_t states_chunks; /* Number of states chunks per PG */ [all …]
|
/freebsd/contrib/bc/include/ |
H A D | rand.h | 9 * https://github.com/imneme/pcg-c 11 * -------- [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | regengine.inc | 1 /*- 4 * Copyright (c) 1992, 1993, 1994 Henry Spencer. 5 * Copyright (c) 1992, 1993, 1994 35 * @(#)engine.c 8.5 (Berkeley) 3/20/94 39 * The matching engine and friends. This file is #included by regexec.c 78 const char *beginp; /* start of string -- virtual NUL precedes */ 79 const char *endp; /* end of string -- virtual NUL here */ 83 states st; /* current states */ 84 states fresh; /* states for a fresh start */ 85 states tmp; /* temporary */ [all …]
|
/freebsd/sys/dev/gpio/ |
H A D | gpioregulator.c | 1 /*- 2 * Copyright (c) 2016 Jared McNeill <jmcneill@invisible.ca> 58 struct gpioregulator_state *states; member 84 if (sc->def->enable_pin_valid == 1) { in gpioregulator_regnode_init() 85 error = gpio_pin_setflags(sc->def->enable_pin, GPIO_PIN_OUTPUT); in gpioregulator_regnode_init() 90 for (n = 0; n < sc->def->npins; n++) { in gpioregulator_regnode_init() 91 error = gpio_pin_setflags(sc->def->pins[n], GPIO_PIN_OUTPUT); in gpioregulator_regnode_init() 108 if (sc->def->enable_pin_valid == 1) { in gpioregulator_regnode_enable() 110 if (!sc->param->enable_active_high) in gpioregulator_regnode_enable() 112 error = gpio_pin_set_active(sc->def->enable_pin, active); in gpioregulator_regnode_enable() [all …]
|
/freebsd/sys/dev/dpms/ |
H A D | dpms.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2008 Yahoo!, Inc. 16 * 3. Neither the name of the author nor the names of any co-contributors 34 * Copyright (c) 2004 Benjamin Close <Benjamin.Close@clearchain.com> 72 * VESA DPMS States 132 int error, states; in dpms_probe() local 134 error = dpms_get_supported_states(&states); in dpms_probe() 149 error = dpms_get_supported_states(&sc->dpms_supported_states); in dpms_attach() 152 error = dpms_get_current_state(&sc->dpms_initial_state); in dpms_attach() [all …]
|
/freebsd/share/examples/ses/getencstat/ |
H A D | getencstat.0 | 1 .\" Copyright (c) 2000 Matthew Jacob 45 gets summary and detailed SCSI Environmental Services (or SAF-TE) device 54 of being \fBOK\fR, or in one or more of the states of \fBINFORMATIONAL\fR, 55 \fBNON-CRITICAL\fR, \fBCRITICAL\fB or \fBUNRECOVERABLE\fR states. 57 overall states reflect a summary of the states of each object within 72 .Bl -tag -width /dev/sesN -compact
|
/freebsd/contrib/ofed/opensm/include/complib/ |
H A D | cl_types.h | 2 * Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved. 3 * Copyright (c) 2002-2010 Mellanox Technologies LTD. All rights reserved. 4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 49 # define BEGIN_C_DECLS extern "C" { 70 /* need to cast carefully to avoid the warining of un-needed check */ 113 #define offsetof(TYPE, MEMBER) ((uintptr_t) &((TYPE *)0)->MEMBER) 150 ((PARENT_TYPE*)((uint8_t*)(p_member) - offsetof(PARENT_TYPE, MEMBER_NAME))) 190 #define OPTIONAL /* Optional function parameter - NULL if not used */ [all …]
|
/freebsd/usr.bin/iscsictl/ |
H A D | iscsictl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2012 The FreeBSD Foundation 59 TAILQ_INIT(&conf->conf_targets); in conf_new() 69 TAILQ_FOREACH(targ, &conf->conf_targets, t_next) { in target_find() 70 if (targ->t_nickname != NULL && in target_find() 71 strcasecmp(targ->t_nickname, nickname) == 0) in target_find() 86 targ->t_conf = conf; in target_new() 87 targ->t_dscp = -1; in target_new() 88 targ->t_pcp = -1; in target_new() [all …]
|