Home
last modified time | relevance | path

Searched full:l2 (Results 1 – 25 of 227) sorted by relevance

12345678910

/Zephyr-latest/subsys/net/l2/
DKconfig7 bool "Dummy l2 layer"
10 Add a dummy L2 layer driver. This is usually only needed when
14 source "subsys/net/l2/dummy/Kconfig"
17 source "subsys/net/l2/virtual/Kconfig"
19 source "subsys/net/l2/ethernet/Kconfig"
21 source "subsys/net/l2/ppp/Kconfig"
26 A common config for all IEEE 802.15.4 based L2 implementations.
28 source "subsys/net/l2/ieee802154/Kconfig"
30 source "subsys/net/l2/openthread/Kconfig"
33 bool "Custom IEEE802154 L2"
[all …]
/Zephyr-latest/subsys/net/l2/virtual/
DKconfig5 bool "Virtual L2 support"
7 Add a virtual L2 layer driver. This is needed if you have a L2
8 layer that depends on other L2 layer. Like running VPN on top of
19 configure at run-time the L2 settings.
22 int "Max length of the virtual L2 layer name"
31 module-str = Log level for virtual L2 layer
32 module-help = Enables virtual L2 to output debug messages.
35 source "subsys/net/l2/virtual/ipip/Kconfig"
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_l2.rst3 L2 Layer Management
13 The L2 stack is designed to hide the whole networking link-layer part
19 object and the generic API provided by the L2 layer in
22 Only the L2 layer can talk to the device driver, linked to the net_if
23 object. The L2 layer dictates the API provided by the device driver,
26 Currently, there are L2 layers for :ref:`Ethernet <ethernet_interface>`,
31 L2 layer API
34 In order to create an L2 layer, or a driver for a specific L2 layer,
36 how the L2 layer is supposed to behave.
38 more details. The generic L2 API has these functions:
[all …]
Dthread.rst53 OpenThread L2 uses Zephyr's protocol agnostic IEEE 802.15.4 driver API
60 OpenThread L2 Adaptation Layer API
63 Zephyr's OpenThread L2 platform adaptation layer glues the external OpenThread
65 API is of interest to OpenThread L2 **subsystem contributors** only.
/Zephyr-latest/samples/subsys/zbus/priority_boost/
Dsample.yaml12 - "I: 0 ---> L2: T1 prio 5"
16 - "I: 1 ---> L2: T1 prio 5"
20 - "I: 2 ---> L2: T1 prio 5"
24 - "I: 3 ---> L2: T1 prio 5"
28 - "I: 4 ---> L2: T1 prio 5"
32 - "I: 5 ---> L2: T1 prio 5"
36 - "I: 6 ---> L2: T1 prio 5"
51 - "I: 0 ---> L2: T1 prio 1"
55 - "I: 1 ---> L2: T1 prio 1"
59 - "I: 2 ---> L2: T1 prio 2"
[all …]
DREADME.rst21 ZBUS_OBSERVERS(l1, ms1, ms2, s1, l2),
66 I: 0 ---> L2: T1 prio 5
75 I: 1 ---> L2: T1 prio 5
83 I: 2 ---> L2: T1 prio 5
90 I: 3 ---> L2: T1 prio 5
96 I: 4 ---> L2: T1 prio 5
102 I: 5 ---> L2: T1 prio 5
110 I: 6 ---> L2: T1 prio 5
145 I: 0 ---> L2: T1 prio 1
154 I: 1 ---> L2: T1 prio 1
[all …]
/Zephyr-latest/include/zephyr/net/
Dconn_mgr_monitor.h77 * @brief Mark an L2 to be ignored by conn_mgr.
79 * This is a wrapper for conn_mgr_ignore_iface that ignores all ifaces that use the L2.
81 * @param l2 L2 to be ignored.
83 void conn_mgr_ignore_l2(const struct net_l2 *l2);
86 * @brief Watch (stop ignoring) an L2.
88 * This is a wrapper for conn_mgr_watch_iface that watches all ifaces that use the L2.
90 * @param l2 L2 to watch.
92 void conn_mgr_watch_l2(const struct net_l2 *l2);
Dnet_l2.h9 * @brief Public API for network L2 interface
27 * @defgroup net_l2 Network L2 Abstraction Layer
36 /** L2 flags */
47 /** Is this L2 point-to-point with tunneling so no need to have
54 * @brief Network L2 structure
60 * This function is used by net core to get iface's L2 layer parsing
67 * (interface's L2), which in turn might work on the packet relevantly.
80 * Return L2 flags for the network interface.
85 * Optional function for reserving L2 header space for this technology.
Dieee802154.h9 * @brief IEEE 802.15.4 native L2 stack public header
33 * @brief IEEE 802.15.4 native and OpenThread L2, configuration, management and
36 * @details The IEEE 802.15.4 and Thread subsystems comprise the OpenThread L2
37 * subsystem, the native IEEE 802.15.4 L2 subsystem ("Soft" MAC), a mostly
39 * native L2 stacks ("Hard" MAC and PHY) as well as several APIs to configure
61 * protocols stack at the MAC (L2) and PHY (L1) levels
63 * - L2 integration (subsystem contributors):
65 * - implementation of Zephyr's internal L2-level socket and network context
80 * @defgroup ieee802154_l2 IEEE 802.15.4 L2
85 * @brief IEEE 802.15.4 L2 APIs
[all …]
Ddummy.h24 * @brief Dummy L2/driver support functions
25 * @defgroup dummy Dummy L2/driver Support Functions
32 /** Dummy L2 API operations. */
Dvirtual.h89 /** Virtual L2 API operations. */
120 /** Set specific L2 configuration */
125 /** Get specific L2 configuration */
136 /** Virtual L2 context that is needed to binding to the real network interface
155 * This tells what L2 features does virtual support.
165 /** User friendly name of this L2 layer. */
193 * @brief Return the name of the virtual network interface L2.
204 * @brief Set the name of the virtual network interface L2.
207 * @param name Name of the virtual L2 layer.
212 * @brief Set the L2 flags of the virtual network interface.
[all …]
/Zephyr-latest/tests/net/ieee802154/l2/
Dtestcase.yaml10 - l2
13 net.ieee802154.l2:
16 net.ieee802154.l2.sockets:
DCMakeLists.txt5 project(l2) project
11 ${ZEPHYR_BASE}/subsys/net/l2/ieee802154
/Zephyr-latest/drivers/cache/
DKconfig.andes19 When L2 cache is inclusive of L1, CPU only needs to perform operations
20 on L2 cache, instead of on both L1 and L2 caches.
Dcache_andes_l2.h16 /* L2 cache Register Offset */
26 /* L2 cache config registers bitfields */
31 /* L2 cache control registers bitfields */
36 /* L2 cache CCTL Access Line registers bitfields */
39 /* L2 CCTL Command */
121 /* Wait L2 CCTL Commands finished */ in nds_l2_cache_all()
137 /* Wait L2 CCTL Commands finished */ in nds_l2_cache_all()
178 /* Wait L2 CCTL Commands finished */ in nds_l2_cache_range()
220 /* Check L2 cache feature from SMU */ in nds_l2_cache_init()
223 /* Platform doesn't support L2 cache controller */ in nds_l2_cache_init()
[all …]
/Zephyr-latest/arch/sparc/core/
Dwindow_trap.S26 std %l2, [%sp + 0x08]
30 /* l2 := WIM << (NWIN-1) */
31 sll %l3, (CONFIG_SPARC_NWIN-1), %l2
38 wr %l3, %l2, %wim
47 rett %l2
66 ldd [%sp + 0x08], %l2
78 rett %l2
89 * %l2: npc
116 std %l2, [%sp + 0x08]
166 jmp %l2
[all …]
Dsw_trap_set_pil.S22 * - %l2: npc
42 jmp %l2
43 rett %l2 + 4
/Zephyr-latest/boards/snps/hsdk/support/
Dopenocd.cfg65 # Enable L2 cache support for core 2.
66 $_TARGETNAME2 arc cache l2 auto 1
80 # Enable L2 cache support for core 3.
81 $_TARGETNAME3 arc cache l2 auto 1
90 # Flush L2$.
96 # Enable L2 cache support for core 4.
97 $_TARGETNAME4 arc cache l2 auto 1
111 # Enable L2 cache support for core 1.
112 $_TARGETNAME1 arc cache l2 auto 1
/Zephyr-latest/boards/snps/hsdk4xd/support/
Dopenocd.cfg65 # Enable L2 cache support for core 2.
66 $_TARGETNAME2 arc cache l2 auto 1
80 # Enable L2 cache support for core 3.
81 $_TARGETNAME3 arc cache l2 auto 1
90 # Flush L2$.
96 # Enable L2 cache support for core 4.
97 $_TARGETNAME4 arc cache l2 auto 1
111 # Enable L2 cache support for core 1.
112 $_TARGETNAME1 arc cache l2 auto 1
/Zephyr-latest/tests/net/ieee802154/custom_l2/src/
Dmain.c78 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
90 zassert_equal(tx_pkt, test_data.tx_pkt, "TX packet did not reach L2"); in ZTEST()
102 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
114 zassert_equal(rx_pkt, test_data.rx_pkt, "RX packet did not reach L2"); in ZTEST()
125 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
130 zassert_false(test_data.state, "L2 up"); in ZTEST()
134 zassert_true(test_data.state, "L2 down"); in ZTEST()
142 zassert_not_null(net_if_l2(iface), "No L2 found"); in ZTEST()
/Zephyr-latest/arch/arm/core/mmu/
Darm_mmu.c44 * each table covers a range of 1 MB, the number of L2 tables
58 /* Available L2 tables count & next free index for an L2 table request */
132 * Initializes and returns the next free L2 page table whenever
137 * @retval pointer to the L2 table now assigned to the 1 MB
145 "Cannot set up L2 page table for VA 0x%08X: " in arm_mmu_assign_l2_table()
146 "no more free L2 page tables available\n", in arm_mmu_assign_l2_table()
149 "Cannot set up L2 page table for VA 0x%08X: " in arm_mmu_assign_l2_table()
150 "expected empty L2 table at index [%u], but the " in arm_mmu_assign_l2_table()
156 * Store in the status dataset of the L2 table to be returned in arm_mmu_assign_l2_table()
166 * Decrement the available L2 page table count. As long as at in arm_mmu_assign_l2_table()
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/
DKconfig15 module-str = Log level for Ethernet L2 layer
16 module-help = Enables Ethernet L2 to output debug messages.
33 configure at run-time Ethernet drivers and L2 settings.
105 source "subsys/net/l2/ethernet/gptp/Kconfig"
106 source "subsys/net/l2/ethernet/lldp/Kconfig"
160 When enabled, the Ethernet L2 will forward even those frames for which
162 frames are dropped at the L2 processing.
/Zephyr-latest/subsys/net/l2/canbus/
DKconfig5 bool "CANBUS RAW l2 layer"
7 Add a CANBUS L2 layer driver. This is the layer for SOCKET CAN.
/Zephyr-latest/include/zephyr/modem/
Dppp.h31 /** L2 network interface init callback */
79 /* Hook for PPP L2 network interface initialization */
169 * @details This macro defines the modem_ppp instance, initializes a PPP L2
170 * network device instance, and binds the modem_ppp instance to the PPP L2
174 * @param _init_iface Hook for the PPP L2 network interface init function
175 * @param _prio Initialization priority of the PPP L2 net iface
176 * @param _mtu Max size of net_pkt data sent and received on PPP L2 net iface
/Zephyr-latest/subsys/net/conn_mgr/
Dconn_mgr_monitor.c356 * @brief Check whether a provided iface uses the provided L2.
359 * @param l2 - L2 to check. NULL will match offloaded ifaces.
360 * @retval true if the iface uses the provided L2.
363 static bool iface_uses_l2(struct net_if *iface, const struct net_l2 *l2) in iface_uses_l2() argument
365 return (!l2 && net_if_offload(iface)) || in iface_uses_l2()
366 (net_if_l2(iface) == l2); in iface_uses_l2()
369 void conn_mgr_ignore_l2(const struct net_l2 *l2) in conn_mgr_ignore_l2() argument
377 if (iface_uses_l2(iface, l2)) { in conn_mgr_ignore_l2()
385 void conn_mgr_watch_l2(const struct net_l2 *l2) in conn_mgr_watch_l2() argument
393 if (iface_uses_l2(iface, l2)) { in conn_mgr_watch_l2()

12345678910