Home
last modified time | relevance | path

Searched refs:bridge (Results 1 – 25 of 85) sorted by relevance

1234

/Zephyr-latest/subsys/net/l2/ethernet/
Dbridge.h16 if (ctx->bridge == NULL) { in net_eth_iface_is_bridged()
20 br_ctx = net_if_get_device(ctx->bridge)->data; in net_eth_iface_is_bridged()
34 return ctx->bridge; in net_eth_get_bridge()
Dbridge.c109 if (eth_ctx->bridge == br) { in eth_bridge_iface_add()
117 eth_ctx->bridge = br; in eth_bridge_iface_add()
125 if (tmp->bridge == br) { in eth_bridge_iface_add()
157 NET_INFO("Bridge %d is %ssetup", net_if_get_by_iface(eth_ctx->bridge), ""); in eth_bridge_iface_add()
188 eth_ctx->bridge = NULL; in eth_bridge_iface_remove()
196 if (tmp->bridge == br) { in eth_bridge_iface_remove()
DKconfig126 forwarded across interfaces registered to a bridge.
129 int "Max number of bridge interfaces"
134 How many bridge interfaces are created. Each interface can bridge
144 bridge interface.
155 bool "Debug received and sent packets in bridge"
166 Enables shell utility to manage bridge configuration interactively.
DCMakeLists.txt22 zephyr_library_sources_ifdef(CONFIG_NET_ETHERNET_BRIDGE bridge.c)
Dethernet.c278 struct net_if *bridge = net_eth_get_bridge(ctx); in ethernet_recv() local
287 net_pkt_set_iface(out_pkt, bridge); in ethernet_recv()
291 out_pkt, pkt, net_if_get_by_iface(bridge), in ethernet_recv()
294 (void)net_if_queue_tx(bridge, out_pkt); in ethernet_recv()
783 struct net_if *bridge = net_eth_get_bridge(ctx); in ethernet_send() local
793 net_pkt_set_iface(out_pkt, bridge); in ethernet_send()
797 out_pkt, pkt, net_if_get_by_iface(bridge), in ethernet_send()
800 (void)net_if_queue_tx(bridge, out_pkt); in ethernet_send()
/Zephyr-latest/tests/net/bridge/src/
Dmain.c34 static struct net_if *bridge; variable
187 bridge = iface; in iface_cb()
306 ret = eth_bridge_iface_add(bridge, fake_iface[0]); in test_setup_bridge()
308 ret = eth_bridge_iface_add(bridge, fake_iface[1]); in test_setup_bridge()
312 ret = eth_bridge_iface_add(bridge, fake_iface[1]); in test_setup_bridge()
315 ret = eth_bridge_iface_add(bridge, fake_iface[2]); in test_setup_bridge()
318 ret = net_if_up(bridge); in test_setup_bridge()
371 ret = net_if_down(bridge); in test_recv_after_bridging()
375 ret = eth_bridge_iface_remove(bridge, fake_iface[0]); in test_recv_after_bridging()
377 ret = eth_bridge_iface_remove(bridge, fake_iface[1]); in test_recv_after_bridging()
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_sc18im704.c35 const struct device *bridge; member
67 ret = sc18im704_transfer(cfg->bridge, buf, sizeof(buf), NULL, 0); in gpio_sc18im_port_set_raw()
119 ret = sc18im704_claim(cfg->bridge); in gpio_sc18im_pin_configure()
141 ret = sc18im704_transfer(cfg->bridge, buf, sizeof(buf), NULL, 0); in gpio_sc18im_pin_configure()
155 sc18im704_release(cfg->bridge); in gpio_sc18im_pin_configure()
209 ret = sc18im704_transfer(cfg->bridge, buf, sizeof(buf), &data, 1); in gpio_sc18im_port_get_raw()
246 if (!device_is_ready(cfg->bridge)) { in gpio_sc18im_init()
277 .bridge = GPIO_SC18IM704_I2C_SIBLING(n), \
DKconfig.sc18im70419 Note: Has to be greater than the parent SC18IM704 bridge initialization priority.
/Zephyr-latest/boards/shields/x_nucleo_eeprma2/
Dx_nucleo_eeprma2.overlay30 /* if solder-bridge closed: arduino A1 pin on CN8 can wp */
43 /* if solder-bridge closed: arduino A1 pin on CN8 can wp */
56 /* if solder-bridge closed: arduino A1 pin on CN8 can wp */
72 * closed solder bridge.
75 * have a connection to arduino pin A3 on CN8 via an open solder bridge.
80 * via an open solder bridge.
93 /* if solder-bridge closed: arduino A0 pin on CN8 can wp */
107 /* if solder-bridge closed: arduino A0 pin on CN8 can wp */
122 /* if solder-bridge closed: arduino A0 pin on CN8 can wp */
/Zephyr-latest/doc/connectivity/networking/
Deth_bridge_native_sim_setup.rst3 Ethernet bridge with native_sim board
70 not yet configured. To configure the bridging, you either need to use the bridge shell or call the
71 bridging API directly from the application. We setup the bridging using the bridge shell like
76 net bridge addif 1 3 2
79 In the above example, the bridge interface index is 1, and interfaces 2 and 3 are
159 The ``net bridge`` command will show the current status of the bridging:
163 net bridge
167 The ``addif`` command adds Ethernet interfaces 2 and 3 to the bridge interface 1.
168 After the ``addif`` command, the bridging is still disabled because the bridge interface
174 Note that interface index numbers are not fixed, the bridge and Ethernet interface index
[all …]
/Zephyr-latest/tests/subsys/modem/mock/
Dmodem_backend_mock.c46 if (mock->bridge) { in modem_backend_mock_transmit()
47 struct modem_backend_mock *t_mock = mock->bridge; in modem_backend_mock_transmit()
155 mock_a->bridge = mock_b; in modem_backend_mock_bridge()
156 mock_b->bridge = mock_a; in modem_backend_mock_bridge()
Dmodem_backend_mock.h39 struct modem_backend_mock *bridge; member
/Zephyr-latest/boards/adi/max32680evkit/doc/
Dindex.rst279 | | | | 2-1 | | | Disconnects the USB - serial bridge from UART1_RX …
281 | | | | 2-3 | | | Connects the USB - serial bridge to LPUART_RX (P2.…
286 | | | | 2-1 | | | Disonnects the USB - serial bridge from UART1_TX (…
288 | | | | 2-3 | | | Connects the USB - serial bridge to LPUART_TX (P2.…
293 | | | HART_IN | | | Open | | | Disconnects TX of USB - serial bridge from HART_IN…
295 | | | HART_IN | | | 1-2 | | | Connects TX of USB - serial bridge to HART_IN (P0.…
297 | | | HART_OUT | | | Open | | | Disconnects RX of USB - serial bridge from HART_OU…
299 | | | HART_OUT | | | 2-3 | | | Connects RX of USB - serial bridge to HART_OUT (P0…
301 | | | HART_RTS | | | Open | | | Disconnects RTS of USB - serial bridge from HART_R…
303 | | | HART_RTS | | | 3-4 | | | Connects TX of USB - serial bridge to HART_RTS (P0…
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
Drpl.h25 bool bt_mesh_rpl_check(struct bt_mesh_net_rx *rx, struct bt_mesh_rpl **match, bool bridge);
/Zephyr-latest/boards/adi/max32662evkit/doc/
Dindex.rst151 | | | | 1-2 | | | Connects the USB-to-serial bridge to UART0A_CTS (P…
153 | | | | Open | | | Disconnects the USB-to-serial bridge from UART0A_C…
158 | | | | 1-2 | | | Connects the USB-to-serial bridge to UART0A_RX (P0…
160 | | | | Open | | | Disconnects the USB-to-serial bridge from UART0A_R…
165 | | | | 1-2 | | | Connects the USB-to-serial bridge to UART0A_TX (P0…
167 | | | | Open | | | Disconnects the USB-to-serial bridge from UART0A_T…
172 | | | | 1-2 | | | Connects the USB-to-serial bridge to UART0A_RTS (P…
174 | | | | Open | | | Disconnects the USB-to-serial bridge from UART0A_R…
/Zephyr-latest/tests/net/bridge/
DCMakeLists.txt5 project(bridge) project
/Zephyr-latest/boards/adi/max32675evkit/doc/
Dindex.rst163 | | | HART_IN | | | Open | | | Disconnects TX of USB - serial bridge from HART_IN…
165 | | | HART_IN | | | 1-2 | | | Connects TX of USB - serial bridge to HART_IN (P0.…
167 | | | HART_OUT | | | Open | | | Disconnects RX of USB - serial bridge from HART_OU…
169 | | | HART_OUT | | | 3-4 | | | Connects RX of USB - serial bridge to HART_OUT (P0…
171 | | | HART_RTS | | | Open | | | Disconnects RTS of USB - serial bridge from HART_R…
173 | | | HART_RTS | | | 4-5 | | | Connects TX of USB - serial bridge to HART_RTS (P1…
175 | | | HART_OCD | | | Open | | | Disconnects RTS of USB - serial bridge from HART_O…
177 | | | HART_OCD | | | 7-8 | | | Connects TX of USB - serial bridge to HART_OCD (P0…
299 The EV kit provides a USB-to-HART bridge chip, FTDI FT231. This bridge eliminates the requirement
330 The EV kit provides a USB-to-UART bridge chip (the FTDI FT230XS-R). This bridge eliminates
[all …]
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/boards/
Dgd32f403z_eval.overlay10 /* Unplug jumpers from P3 and P2 and bridge PD0/PD1 */
Dgd32f450i_eval.overlay10 /* unplug camera from JP27 and bridge D0-D1 (pins 16 and 15) */
Dgd32vf103v_eval.overlay10 /* Unplug jumpers from JP13 and JP4 and bridge PD0/PD1 */
/Zephyr-latest/boards/adi/max78000evkit/doc/
Dindex.rst10 to SPI bridge provides rapid access to onboard memory, allowing large networks or images to load qu…
254 | | | | 1-2 | | | Enables USB-SPI bridge
261 | | | | 1-2, 3-4 | | | Enables USB-UART0 bridge, software flow co…
263 | | | | All Open | | | Disables USB-UART0 bridge, allows reuse of…
268 | | | |All installed | | | Enables USB-UART1 bridge
270 | | | | All Open | | | Disables USB-UART1 bridge, allows reuse of…
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dbrg_cfg_cli.rst11 subnet bridge functionality of another Mesh node containing the
/Zephyr-latest/boards/seagate/legend/doc/
Dindex.rst10 bridge controller and a STM32F070 MCU. The former is handling the USB to HDD I/Os
20 connected to an ASMedia ASM1153 USB-to-SATA bridge controller and a STM32F070
44 - ASMedia ASM1153 USB-to-SATA bridge (I2C master on port 1) (HDD only)
/Zephyr-latest/boards/adi/max32690evkit/doc/
Dindex.rst183 | | | | 1-2 | | | Connects the USB - serial bridge to UART2A_RX (P1…
185 | | | | Open | | | Disconnects the USB - serial bridge from UART2A_R…
190 | | | | 1-2 | | | Connects the USB - serial bridge to UART2A_TX (P1…
192 | | | | Open | | | Disconnects the USB - serial bridge from UART2A_T…
197 | | | | 2-1 | | | Connects the USB - serial bridge to UART2A_CTS (P…
204 | | | | 2-1 | | | Connects the USB - serial bridge to UART2A_RTS (P…
/Zephyr-latest/boards/sipeed/longan_nano/
Dlongan_nano-common.dtsi48 /* NOTE: bridge TIMER1_CH1 and LED_GREEN (PA1) */
53 /* NOTE: bridge TIMER1_CH2 and LED_BLUE (PA2) */

1234