Home
last modified time | relevance | path

Searched +full:matching +full:- +full:rule (Results 1 – 11 of 11) sorted by relevance

/Zephyr-Core-3.4.0/subsys/net/pkt_filter/
Dbase.c4 * SPDX-License-Identifier: Apache-2.0
15 * Our actual rule lists for supported test points
29 * Rule application
36 static bool apply_tests(struct npf_rule *rule, struct net_pkt *pkt) in apply_tests() argument
42 for (i = 0; i < rule->nb_tests; i++) { in apply_tests()
43 test = rule->tests[i]; in apply_tests()
44 result = test->fn(test, pkt); in apply_tests()
55 * We return the specified result for the first rule whose tests are all true.
59 struct npf_rule *rule; in evaluate() local
68 SYS_SLIST_FOR_EACH_CONTAINER(rule_head, rule, node) { in evaluate()
[all …]
/Zephyr-Core-3.4.0/
D.gitlint3 ignore=title-trailing-punctuation, T3, title-max-length, T1, body-hard-tab, B3, B1
4 # verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this
7 ignore-merge-commits=false
8 ignore-revert-commits=false
9 ignore-fixup-commits=false
10 ignore-squash-commits=false
14 # Set the extra-path where gitlint will search for user defined rules
16 extra-path=scripts/gitlint
18 [title-max-length-no-revert]
19 line-length=75
[all …]
/Zephyr-Core-3.4.0/scripts/schemas/twister/
Dtestsuite-schema.yaml5 # (http://pykwalify.readthedocs.io/en/unstable/validation-rules.html),
39 - type: str
44 - type: str
49 - type: str
60 - type: str
71 - type: str
77 - type: str
104 - type: str
109 - type: str
130 - type: str
[all …]
/Zephyr-Core-3.4.0/tests/net/npf/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
37 "The Zephyr Project is a scalable real-time operating system (RTOS) supporting\n"
41 "The Zephyr OS is based on a small-footprint kernel designed for use on\n"
42 "resource-constrained systems: from simple embedded environmental sensors and\n"
45 "The Zephyr kernel supports multiple architectures, including ARM Cortex-M,\n"
46 "Intel x86, ARC, Nios II, Tensilica Xtensa, and RISC-V, and a large number of\n"
67 zassert_true((size - sizeof(eth_hdr)) <= sizeof(dummy_data), ""); in build_test_pkt()
68 ret = net_pkt_write(pkt, dummy_data, size - sizeof(eth_hdr)); in build_test_pkt()
113 /* remove first iface rule */ in test_npf_iface()
119 /* test with only default drop rule in place */ in test_npf_iface()
[all …]
/Zephyr-Core-3.4.0/drivers/ethernet/
Deth_adin2111_priv.h4 * SPDX-License-Identifier: Apache-2.0
42 /* Forward Frames from Port 2 Not Matching a MAC Address to Port 1 */
44 /* Forward Frames from Port 1 Not Matching a MAC Address to Port 2 */
101 /* MAC Address Rule and DA Filter Upper 16 Bits Registers */
/Zephyr-Core-3.4.0/doc/develop/tools/
Dcoccinelle.rst11 Coccinelle is a tool for pattern matching and text transformation that has
13 tree-wide patches and detection of problematic programming patterns.
22 which are provided by Coccinelle version 1.0.0-rc11 and above.
29 .. rst-class:: rst-columns
49 .. code-block:: console
57 .. code-block:: console
76 ``coccicheck`` checker is the front-end to the Coccinelle infrastructure
80 ``org``. The mode to use is specified by setting ``--mode=<mode>`` or
81 ``-m=<mode>``.
86 file:line:column-column: message
[all …]
/Zephyr-Core-3.4.0/doc/hardware/peripherals/canbus/
Dcontroller.rst13 Controller Area Network is a two-wire serial bus specified by the
14 Bosch CAN Specification, Bosch CAN with Flexible Data-Rate specification and the
15 ISO 11898-1:2003 standard.
20 from the CAN controller to the bus-levels. The bus lines are called
24 These wires use the logic levels whereas the bus-level is interpreted
29 To write a dominant bit to the bus, open-drain transistors tie CAN H to Vdd
31 The first and last node use a 120-ohm resistor between CAN H and CAN L to
33 This structure is called a wired-AND.
48 The bit-timing as defined in ISO 11898-1:2003 looks as following:
63 The bit-rate is calculated from the time of a time quantum and the values
[all …]
/Zephyr-Core-3.4.0/doc/_static/css/
Dcustom.css2 * Copyright (c) 2019-2020, Juan Linietsky, Ariel Manzur and the Godot community
4 * SPDX-License-Identifier: CC-BY-3.0
24 .rst-content .toctree-wrapper p.caption,
25 .rst-versions {
27 …font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", s…
37 .rst-content .toctree-wrapper p.caption {
39 font-weight: 500;
42 .rst-content div.figure p.caption {
44 text-align: center;
45 margin-top: 8px;
[all …]
/Zephyr-Core-3.4.0/scripts/ci/
Dcheck_compliance.py5 # SPDX-License-Identifier: Apache-2.0
46 f"{cp.stdout.decode('utf-8')}\n"
48 f"{cp.stderr.decode('utf-8')}\n")
50 return cp.stdout.decode("utf-8").rstrip()
59 return git('rev-list',
60 f'--max-count={-1 if "." in refspec else 1}', refspec).split()
63 filter_arg = (f'--diff-filter={filter}',) if filter else ()
64 paths_arg = ('--', *paths) if paths else ()
65 out = git('diff', '--name-only', *filter_arg, COMMIT_RANGE, *paths_arg)
112 - The magic string "<zephyr-base>" can be used to refer to the
[all …]
/Zephyr-Core-3.4.0/scripts/kconfig/
Dkconfiglib.py1 # Copyright (c) 2011-2019, Ulf Magnusson
2 # SPDX-License-Identifier: ISC
9 from Kconfig (https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt)
27 $ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | git am
28 …$ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | patch -
30 Warning: Not passing -p1 to patch will cause the wrong file to be patched.
43 $ git am Kconfiglib/makefile.patch (or 'patch -p1 < Kconfiglib/makefile.patch')
53 ----------------
61 --------------
69 --------------------------------
[all …]
/Zephyr-Core-3.4.0/include/zephyr/
Dkernel.h4 * SPDX-License-Identifier: Apache-2.0
51 #define K_PRIO_COOP(x) (-(CONFIG_NUM_COOP_PRIORITIES - (x)))
54 #define K_HIGHEST_THREAD_PRIO (-CONFIG_NUM_COOP_PRIORITIES)
58 #define K_LOWEST_APPLICATION_THREAD_PRIO (K_LOWEST_THREAD_PRIO - 1)
166 * bits, arch-specific use high bits.
212 * from within a user-provided callback they have been invoked.
213 * Effectively it serves as a tiny bit of zero-overhead TLS data.
265 /* end - thread options */
278 * Thread options are architecture-specific, and can include K_ESSENTIAL,
285 * - K_THREAD_STACK_DEFINE() - For stacks that may support either user or
[all …]