/Zephyr-latest/subsys/net/ip/ |
D | route.c | 2 * @brief Route handling. 30 #include "route.h" 37 /* Track currently active route lifetime timers */ 40 /* Timer that manages expired route entries. */ 99 NET_DBG("Route %p removed", nbr); in net_route_entry_remove() 104 NET_DBG("Route table %p cleared", table); in net_route_entries_table_clear() 128 struct net_nbr *net_route_get_nbr(struct net_route_entry *route) in net_route_get_nbr() argument 133 NET_ASSERT(route); in net_route_get_nbr() 144 if (nbr->data == (uint8_t *)route) { in net_route_get_nbr() 250 #define net_route_info(str, route, dst) \ argument [all …]
|
D | route.h | 2 * @brief Route handler 29 * @brief Next hop entry for a given route. 32 /** Pointer to nexthop that has same route to a specific 42 * @brief Route entry to a specific neighbor. 55 /** Network interface for the route. */ 58 /** Route lifetime timer. */ 61 /** IPv6 address/prefix of the route. */ 69 /** Is the route valid forever */ 73 /* Route preference values, as defined in RFC 4191 */ 80 * @brief Lookup route to a given destination. [all …]
|
D | ipv6.c | 41 #include "route.h" 288 struct net_route_entry *route; in add_route() local 290 route = net_route_lookup(iface, addr); in add_route() 291 if (route) { in add_route() 292 return route; in add_route() 295 route = net_route_add(iface, addr, prefix_len, addr, in add_route() 299 NET_DBG("%s route to %s/%d iface %p", route ? "Add" : "Cannot add", in add_route() 302 return route; in add_route() 310 NET_DBG("Will not route pkt %p ll src %s to dst %s between interfaces", in ipv6_no_route_info() 319 struct net_route_entry *route; in ipv6_route_packet() local [all …]
|
/Zephyr-latest/drivers/sensor/nxp/fxos8700/ |
D | Kconfig | 70 Say Y to route data ready interrupt to INT1 pin. Say N to route to 95 Say Y to route pulse interrupt to INT1 pin. Say N to route to INT2 pin. 108 Say Y to route motion interrupt to INT1 pin. Say N to route to INT2 pin. 120 Say Y to route magnetic vector-magnitude interrupt to INT1 pin. 121 Say N to route to INT2 pin.
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | route.c | 13 #include "../ip/route.h" 97 PR("IPv6 multicast route (%p)\n", entry); in route_mcast_cb() 118 struct net_route_entry *route; in cmd_net_ip6_route_add() local 123 PR_ERROR("Correct usage: net route add <index> " in cmd_net_ip6_route_add() 149 route = net_route_add(iface, &prefix, NET_IPV6_DEFAULT_PREFIX_LEN, in cmd_net_ip6_route_add() 152 if (route == NULL) { in cmd_net_ip6_route_add() 153 PR_ERROR("Failed to add route\n"); in cmd_net_ip6_route_add() 170 struct net_route_entry *route; in cmd_net_ip6_route_del() local 174 PR_ERROR("Correct usage: net route del <index> <destination>\n"); in cmd_net_ip6_route_del() 193 route = net_route_lookup(iface, &prefix); in cmd_net_ip6_route_del() [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/ |
D | silabs-pinctrl-dbus.h | 15 * 28..24: Route register offset in words from peripheral config (offset of <fun>ROUTE 19 * 17..8 : Peripheral config offset in words from DBUS base within GPIO (offset of <periph>ROUTE[n] 20 * register in GPIO_TypeDef minus offset of first route register [DBGROUTEPEN, 0x440]) 32 #define SILABS_DBUS(port, pin, periph_base, en_present, en_bit, route) \ argument 38 FIELD_PREP(SILABS_PINCTRL_ROUTE_MASK, route))
|
/Zephyr-latest/tests/net/route/src/ |
D | main.c | 36 #include "route.h" 107 struct net_route_test *route = dev->data; in net_route_get_mac() local 109 if (route->mac_addr[2] == 0x00) { in net_route_get_mac() 111 route->mac_addr[0] = 0x00; in net_route_get_mac() 112 route->mac_addr[1] = 0x00; in net_route_get_mac() 113 route->mac_addr[2] = 0x5E; in net_route_get_mac() 114 route->mac_addr[3] = 0x00; in net_route_get_mac() 115 route->mac_addr[4] = 0x53; in net_route_get_mac() 116 route->mac_addr[5] = sys_rand8_get(); in net_route_get_mac() 119 route->ll_addr.addr = route->mac_addr; in net_route_get_mac() [all …]
|
/Zephyr-latest/tests/net/route_mcast/src/ |
D | main.c | 38 #include "route.h" 347 zassert_not_null(test_mcast_routes[0], "mcast route add failed"); in test_route_mcast_route_add() 351 zassert_not_null(test_mcast_routes[1], "mcast route add failed"); in test_route_mcast_route_add() 355 zassert_not_null(test_mcast_routes[2], "mcast route add failed"); in test_route_mcast_route_add() 359 zassert_not_null(test_mcast_routes[3], "mcast route add failed"); in test_route_mcast_route_add() 361 /* check if route can be added in test_route_mcast_route_add() 366 zassert_is_null(test_mcast_routes[4], "mcast route add should fail"); in test_route_mcast_route_add() 404 struct net_route_entry_mcast *route = in test_route_mcast_lookup() local 407 zassert_equal_ptr(test_mcast_routes[0], route, in test_route_mcast_lookup() 410 route = net_route_mcast_lookup(&mcast_prefix_site_local); in test_route_mcast_lookup() [all …]
|
/Zephyr-latest/tests/net/route/ |
D | testcase.yaml | 4 net.route: 8 - route
|
D | CMakeLists.txt | 5 project(route) project
|
/Zephyr-latest/samples/net/vlan/ |
D | vlan-setup-linux.sh | 53 ip -6 route add ${PREFIX_1_IPV6}::/${PREFIXLEN_1_IPV6} \ 57 ip -6 route add ${PREFIX_2_IPV6}::/${PREFIXLEN_2_IPV6} \ 61 ip route add ${PREFIX_1_IPV4}/${PREFIXLEN_1_IPV4} dev ${VLAN_NAME_PREFIX}.100 64 ip route add ${PREFIX_2_IPV4}/${PREFIXLEN_2_IPV4} dev ${VLAN_NAME_PREFIX}.200
|
/Zephyr-latest/drivers/sensor/nxp/fxls8974/ |
D | Kconfig | 44 Say Y to route data ready interrupt to INT1 pin. Say N to route to
|
/Zephyr-latest/dts/bindings/gpio/ |
D | nxp,s32-gpio.yaml | 7 The GPIO controller provides the option to route external input pad interrupts 12 To route external interrupts to the WKPU interrupt controller, the GPIO 15 to route the interrupt from pin 9 of `gpioa` to the WKPU interrupt controller:
|
/Zephyr-latest/drivers/sensor/st/iis3dhhc/ |
D | Kconfig | 70 Say Y to route data ready interrupt to INT1 pin. Say N to route to
|
/Zephyr-latest/drivers/sensor/st/lis2ds12/ |
D | lis2ds12_trigger.c | 98 lis2ds12_pin_int1_route_t route; in lis2ds12_init_interrupt() local 107 /* route data-ready interrupt on int1 */ in lis2ds12_init_interrupt() 108 err = lis2ds12_pin_int1_route_get(ctx, &route); in lis2ds12_init_interrupt() 113 route.int1_drdy = 1; in lis2ds12_init_interrupt() 115 err = lis2ds12_pin_int1_route_set(ctx, route); in lis2ds12_init_interrupt()
|
/Zephyr-latest/drivers/sensor/nxp/fxas21002/ |
D | Kconfig | 80 Say Y to route data ready interrupt to INT1 pin. Say N to route to
|
/Zephyr-latest/drivers/sensor/st/lis2dux12/ |
D | lis2dux12_api.c | 134 lis2dux12_pin_int_route_t route; in st_lis2dux12_init_interrupt() local 143 /* route data-ready interrupt on int1 */ in st_lis2dux12_init_interrupt() 144 err = lis2dux12_pin_int1_route_get(ctx, &route); in st_lis2dux12_init_interrupt() 149 route.drdy = 1; in st_lis2dux12_init_interrupt() 151 err = lis2dux12_pin_int1_route_set(ctx, &route); in st_lis2dux12_init_interrupt()
|
D | lis2duxs12_api.c | 134 lis2duxs12_pin_int_route_t route; in st_lis2duxs12_init_interrupt() local 143 /* route data-ready interrupt on int1 */ in st_lis2duxs12_init_interrupt() 144 err = lis2duxs12_pin_int1_route_get(ctx, &route); in st_lis2duxs12_init_interrupt() 149 route.drdy = 1; in st_lis2duxs12_init_interrupt() 151 err = lis2duxs12_pin_int1_route_set(ctx, &route); in st_lis2duxs12_init_interrupt()
|
/Zephyr-latest/doc/connectivity/networking/ |
D | networking_with_multiple_instances.rst | 13 to route network traffic between these systems. 67 ip -6 route add $IPV6_ROUTE_1 dev $INTERFACE 69 ip route add $IPV4_ROUTE_1 dev $INTERFACE > /dev/null 2>&1 86 ip -6 route add $IPV6_ROUTE_1 dev $INTERFACE 88 ip route add $IPV4_ROUTE_1 dev $INTERFACE > /dev/null 2>&1
|
D | usbnet_setup.rst | 81 # ip route add 192.0.2.0/24 dev enx00005e005301 90 # ip -6 route add 2001:db8::/64 dev enx00005e005301
|
/Zephyr-latest/dts/bindings/pinctrl/ |
D | nxp,imx-iomuxc-scu.yaml | 25 mux: Select which signal to route.
|
D | renesas,smartbond-pinctrl.yaml | 31 /* route UART TX to P0.9 */ 36 /* route UART RX to P0.8 and enable pull-up */
|
/Zephyr-latest/include/zephyr/linker/ |
D | linker-tool-gcc.h | 77 * Route memory to a specified memory area 99 * Route memory for a read-only section 125 * Route memory for read-write sections that are loaded. 145 * Route memory for read-write sections that are NOT loaded; typically this
|
/Zephyr-latest/drivers/sensor/st/iis328dq/ |
D | iis328dq_trigger.c | 50 /* route DRDY to PAD1 */ in iis328dq_enable_int() 55 /* route DRDY to PAD2 */ in iis328dq_enable_int() 104 /* route both internal interrupts to PAD1 */ in iis328dq_enable_int() 109 /* route both internal interrupts to PAD2 */ in iis328dq_enable_int() 121 LOG_ERR("Unsupported trigger interrupt route %d", trig->type); in iis328dq_enable_int()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_gecko.c | 37 BUS_RegMaskedWrite(&cfg->timer->ROUTE, in pwm_gecko_set_cycles() 40 BUS_RegMaskedSet(&cfg->timer->ROUTE, 1 << channel); in pwm_gecko_set_cycles()
|