/freebsd/contrib/bsnmp/snmp_vacm/ |
H A D | vacm_snmp.c | 1 /*- 91 uint32_t sub, uint32_t iidx __unused, enum snmp_op op) in op_vacm_context() argument 97 if (val->var.subs[sub - 1] != LEAF_vacmContextName) in op_vacm_context() 102 if ((vacm_ctx = vacm_get_context(&val->var, sub)) == NULL) in op_vacm_context() 107 if ((vacm_ctx = vacm_get_next_context(&val->var, sub)) == NULL) in op_vacm_context() 109 vacm_append_ctxindex(&val->var, sub, vacm_ctx); in op_vacm_context() 113 if ((vacm_ctx = vacm_get_context(&val->var, sub)) != NULL) in op_vacm_context() 117 if (val->var.subs[sub] >= SNMP_ADM_STR32_SIZ) in op_vacm_context() 119 if (index_decode(&val->var, sub, iidx, &cname, &cnamelen)) in op_vacm_context() 134 return (string_get(val, vacm_ctx->ctxname, -1)); in op_vacm_context() [all …]
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | snmpmod.3 | 2 .\" Copyright (c) 2004-2005 5 .\" Copyright (c) 2001-2003 138 .Pq libbsnmp, -lbsnmp 143 .Fn FIND_OBJECT_OID_LINK_INDEX "LIST" "OID" "SUB" "LINK" "INDEX" 144 .Fn FIND_OBJECT_INT_LINK_INDEX "LIST" "OID" "SUB" "LINK" "INDEX" 145 .Fn NEXT_OBJECT_OID_LINK_INDEX "LIST" "OID" "SUB" "LINK" "INDEX" 146 .Fn NEXT_OBJECT_INT_LINK_INDEX "LIST" "OID" "SUB" "LINK" "INDEX" 149 .Fn FIND_OBJECT_OID_LINK "LIST" "OID" "SUB" "LINK" 150 .Fn FIND_OBJECT_INT_LINK "LIST" "OID" "SUB" "LINK" 151 .Fn NEXT_OBJECT_OID_LINK "LIST" "OID" "SUB" "LINK" [all …]
|
H A D | snmpmod.h | 2 * Copyright (c) 2001-2003 61 * First set of macros is used when the link is embedded into sub-struct 62 * and links these sub-structs. The sub-struct must be the first field. 67 typedef __typeof ((PTR)->SUBF) _subf_type; \ 71 if (asn_compare_oid(&_lelem->INDEX, &(PTR)->SUBF.INDEX) > 0)\ 74 TAILQ_INSERT_TAIL((LIST), &(PTR)->SUBF, LINK); \ 76 TAILQ_INSERT_BEFORE(_lelem, &(PTR)->SUBF, LINK); \ 79 #define NEXT_OBJECT_OID_LINK_INDEX_TYPE(LIST, OID, SUB, LINK, INDEX, TYPE) ({\ argument 83 if (index_compare(OID, SUB, &_lelem->INDEX) < 0) \ 88 #define FIND_OBJECT_OID_LINK_INDEX_TYPE(LIST, OID, SUB, LINK, INDEX, TYPE) ({\ argument [all …]
|
H A D | action.c | 2 * Copyright (c) 2001-2003 5 * Copyright (c) 2004-2006 32 * $Begemot: action.c 517 2006-10-31 08:52:04Z brandt_h $ 87 * Initialize global variables of the system group. 100 if (uname(&uts) == -1) in init_actvals() 101 return (-1); in init_actvals() 104 return (-1); in init_actvals() 107 return (-1); in init_actvals() 116 return (-1); in init_actvals() 146 * Initialize global variables of the snmpEngine group. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/phy/ |
H A D | phy-cadence-sierra.txt | 2 ----------------------- 5 - compatible: Must be "cdns,sierra-phy-t0" for Sierra in Cadence platform 6 Must be "ti,sierra-phy-t0" for Sierra in TI's J721E SoC. 7 - resets: Must contain an entry for each in reset-names. 9 - reset-names: Must include "sierra_reset" and "sierra_apb". 13 - reg: register range for the PHY. 14 - #address-cells: Must be 1 15 - #size-cells: Must be 0 18 - clocks: Must contain an entry in clock-names. 19 See ../clocks/clock-bindings.txt for details. [all …]
|
H A D | phy-cadence-sierra.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-cadence-sierra.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Swapnil Jakhade <sjakhade@cadence.com> 15 - Yuti Amonkar <yamonkar@cadence.com> 20 - cdns,sierra-phy-t0 21 - ti,sierra-phy-t0 23 '#address-cells': 26 '#size-cells': [all …]
|
H A D | phy-miphy365x.txt | 8 - compatible : Should be "st,miphy365x-phy" 9 - st,syscfg : Phandle / integer array property. Phandle of sysconfig group 11 an entry for each port sub-node, specifying the control 12 register offset inside the sysconfig group. 14 Required nodes : A sub-node is required for each channel the controller 16 'reg' and 'reg-names' properties are used inside these 21 - #phy-cells : Should be 1 (See second example) 23 - PHY_TYPE_SATA 24 - PHY_TYPE_PCI 25 - reg : Address and length of register sets for each device in [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/opp/ |
H A D | opp-v2-base.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2-base.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 Devices work at voltage-current-frequency combinations and some implementations 25 pattern: '^opp-table(-[a-z0-9]+)?$' 27 opp-shared: 36 '^opp(-?[0-9]+)*$': 39 One or more OPP nodes describing voltage-current-frequency combinations. [all …]
|
H A D | opp.txt | 2 ---------------------------------------------------- 4 Devices work at voltage-current-frequency combinations and some implementations 13 Binding 1: operating-points 16 This binding only supports voltage-frequency pairs. 19 - operating-points: An array of 2-tuples items, and each item consists 20 of frequency and voltage like <freq-kHz vol-uV>. 27 compatible = "arm,cortex-a9"; 29 next-level-cache = <&L2>; 30 operating-points = < 39 Binding 2: operating-points-v2 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | abilis,tb10x-iomux.txt | 5 ------------------- 7 - compatible: should be "abilis,tb10x-iomux"; 8 - reg: should contain the physical address and size of the pin controller's 13 -------------------- 15 Functions are defined (and referenced) by sub-nodes of the pin controller. 16 Every sub-node defines exactly one function (implying a set of pins). 17 Every function is associated to one named pin group inside the pin controller 18 driver and these names are used to associate pin group predefinitions to pin 19 controller sub-nodes. 22 - abilis,function: should be set to the name of the function's pin group. [all …]
|
H A D | rockchip,pinctrl.txt | 8 Please refer to pinctrl-bindings.txt in this directory for details of the 12 The Rockchip pin configuration node is a node of a group of pins which can be 14 config of the pins in that group. The 'pins' selects the function mode(also 16 settings such as pull-up, etc. 19 defined as gpio sub-nodes of the pinmux controller. 22 - compatible: should be 23 "rockchip,px30-pinctrl": for Rockchip PX30 24 "rockchip,rv1108-pinctrl": for Rockchip RV1108 25 "rockchip,rk2928-pinctrl": for Rockchip RK2928 26 "rockchip,rk3066a-pinctrl": for Rockchip RK3066a [all …]
|
H A D | brcm,bcm11351-pinctrl.txt | 10 - compatible: Must be "brcm,bcm11351-pinctrl" 11 - reg: Base address of the PAD Controller register block and the size 17 compatible = "brcm,bcm11351-pinctrl"; 27 Each pin configuration node is a sub-node of the pin controller node and is a 28 container of an arbitrary number of subnodes, called pin group nodes in this 31 Please refer to the pinctrl-bindings.txt in this directory for details of the 35 === Pin Group Node === 37 A pin group node specifies the desired pin mux and/or pin configuration for an 38 arbitrary number of pins. The name of the pin group node is optional and not 41 A pin group node only affects the properties specified in the node, and has no [all …]
|
/freebsd/share/examples/ipfilter/ |
H A D | mkfilters | 46 print "block out from 127.0.0.0/8 to any group $grpo\n"; 47 print "block out from any to 127.0.0.0/8 group $grpo\n"; 48 print "block out from any to $inet{$i}/32 group $grpo\n"; 50 print "block in from 127.0.0.0/8 to any group $grpi\n"; 51 print "block in from $inet{$i}/32 to any group $grpi\n"; 54 print "block in from $net{$j} to any group $grpi\n"; 60 sub irix_mkfilters 62 open(NETSTAT, "/usr/etc/netstat -i|") || return 0; 74 close I; # being neat... - Allen 77 close NETSTAT; # again, being neat... - Allen [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | README.md | 17 ------------- 30 Verbosity on failed (sub-)tests only 35 Verbosity on failed (sub-)tests, in addition progress on succeeded (sub-)tests 54 $ make list-tests # Unix 55 $ mms list-tests ! OpenVMS 56 $ nmake list-tests # Windows 68 ---------------------- 75 tests (as listed when you do 'make list-tests' or similar). 79 -xxx Removes 'xxx' from the current set of tests. If this is the 82 this token equivalent to TESTS="alltests -xxx". [all …]
|
/freebsd/tests/sys/acl/ |
H A D | run | 1 #!/usr/bin/perl -w -U 35 # - distinguish stdout and stderr output 36 # - add environment variable like assignments 37 # - run up to a specific line 38 # - resume at a specific line 58 sub exec_test($$); 59 sub process_test($$$$); 99 $tests, $tests-$failed, $failed); 111 sub process_test($$$$) { 118 map { s/\s/\\$&/g; $_ } @$p), " -- "; [all …]
|
/freebsd/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_ip.c | 2 * Copyright (c) 2001-2003 31 * ip group scalars. 58 if (sysctlbyname("net.inet.ip.stats", &ipstat, &len, NULL, 0) == -1) { in fetch_ipstat() 60 return (-1); in fetch_ipstat() 64 return (-1); in fetch_ipstat() 67 if (sysctlbyname("net.inet.ip.intr_queue_drops", &ip_idrop, &len, NULL, 0) == -1) in fetch_ipstat() 74 if (sysctlbyname("net.inet.icmp.stats", &icmpstat, &len, NULL, 0) == -1) { in fetch_ipstat() 76 return (-1); in fetch_ipstat() 80 return (-1); in fetch_ipstat() 85 NULL, 0) == -1) { in fetch_ipstat() [all …]
|
/freebsd/sys/contrib/ncsw/inc/ |
H A D | debug_ext.h | 2 * Copyright 2008-2012 Freescale Semiconductor Inc. 81 @Group gen_id General Drivers Utilities 89 @Group dump_id Memory and Registers Dump Mechanism 132 DUMP_Print("\r\n---------------------------------------------------------\r\n"); 135 @Description Prints a subtitle for a subsequent dumped sub-structure (optional). 137 The inputs for this macro are the sub-structure subtitle. 141 DUMP_Print("----------- "); DUMP_Print subtitle; DUMP_Print("\r\n") 145 @Description Dumps a memory region in 4-bytes aligned format. 155 @Description Declares a dump loop, for dumping a sub-structure array. 158 - idx: an index variable, for indexing the sub-structure items [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/ |
H A D | zfs_allow_004_pos.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 11 # or https://opensource.org/licenses/CDDL-1.0. 37 # Verify option '-d' allow permission to the descendent datasets, and not 42 # 2. Select user, group and everyone and set descendent permission 53 log_assert "Verify option '-d' allow permission to the descendent datasets." 58 eval set -A dataset $DATASETS 61 # Verify option '-d' only affect sub-datasets 64 log_must zfs allow -d $STAFF1 $perms $dtst 73 # Verify option '-d + -g' affect group in sub-datasets. [all …]
|
/freebsd/sys/contrib/libsodium/packaging/dotnet-core/ |
H A D | prepare.py | 8 # --------------------- ----------------- # 10 # --------------------- ----------------- # 11 ( 'win-x64', 'x64' ), 12 ( 'win-x86', 'Win32' ), 13 # --------------------- ----------------- # 17 # --------------------- ----------------- # 19 # --------------------- ----------------- # 20 ( 'osx-x64', 'sierra' ), 21 # --------------------- ----------------- # 25 # --------------------- ----------------- # [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/delegate/ |
H A D | zfs_allow_004_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 36 # Verify option '-d' allow permission to the descendent datasets, and not 41 # 2. Select user, group and everyone and set descendent permission 53 # CODING_STATUS: COMPLETED (2006-09-18) 61 log_assert "Verify option '-d' allow permission to the descendent datasets." 66 eval set -A dataset $DATASETS 68 if [[ $? -eq 0 ]] && [[ -n "$enc" ]] && [[ "$enc" != "off" ]]; then 80 # Verify option '-d' only affect sub-datasets 83 log_must $ZFS allow -d $STAFF1 $perms $dtst 92 # Verify option '-d + -g' affect group in sub-datasets. [all …]
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | gen-punycode-examples.py | 2 # -*- coding: iso-8859-1 -*- 58 if l[-2:] == "\\\n": 62 l2 = re.sub('^ *', '', l2) 63 l = l[:-2] + l2 68 m = re.search('^ *\([A-Z]\) *(.*)$', l); 70 desc = m.group(1) 75 codes.extend(string.split(m.group(1), ' ')) 79 cases.append([codes, m.group(1), desc]) 89 #include <krb5-types.h> 118 string.join([re.sub('[uU]\+', '0x', x) for x in cp], ', '),
|
/freebsd/crypto/krb5/src/util/ |
H A D | cstyle-file.py | 40 # Incorrect indentation as determined by emacs c-mode (if possible) 45 # Anything non-syntactic (proper cleanup flow control, naming, etc.) 46 # UTF-8 violations 48 # Inner-scope variable declarations 49 # Over- or under-parenthesization 67 if 'c-basic-offset: 4; indent-tabs-mode: nil' not in lines[0]: 71 cstyle_el = os.path.join(util_dir, 'krb5-c-style.el') 72 reindent_el = os.path.join(util_dir, 'krb5-batch-reindent.el') 76 args = ['emacs', '-q', '-batch', '-l', cstyle_el, '-l', reindent_el, 109 if line and line[-1] in ' \t': [all …]
|
/freebsd/crypto/openssl/test/ssl-tests/ |
H A D | 14-curves.cnf.in | 1 # -*- mode: perl; -*- 41 sub get_key_type { 42 my $group = shift; 45 if ($group =~ /ffdhe/) { 48 $keyType = $group; 54 sub generate_tests() { 58 name => "curve- [all...] |
/freebsd/usr.bin/stat/ |
H A D | stat.1 | 99 .Bl -tag -width indent 210 .Bl -tag -width indent 213 Non-zero octal output will have a leading zero, and non-zero 220 Non-negative numbers are not usually printed 222 .It Cm - 229 Reserves a space at the front of non-negative signed output fields. 236 .Bl -tag -width indent 267 .Bl -tag -width indent 280 Display group or user name. 294 .Dq Li " -\*[Gt] " [all …]
|
/freebsd/cddl/usr.sbin/dwatch/ |
H A D | dwatch | 2 #- 3 # Copyright (c) 2014-2018 Devin Teske 40 " # END-QUOTE 49 VERSION='$Version: 1.4 $' # -V 54 # Command-line arguments 59 # Command-line defaults 61 _MAX_ARGS=64 # -B num 62 _MAX_DEPTH=64 # -K num 65 # Command-line options 67 CONSOLE= # -y [all …]
|