/Zephyr-latest/dts/bindings/ethernet/ |
D | zephyr,cdc-ecm-ethernet.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "zephyr,cdc-ecm-ethernet" 8 include: ethernet-controller.yaml 11 remote-mac-address: 15 Remote MAC address of the virtual Ethernet connection. 16 Should not be the same as local-mac-address property.
|
D | zephyr,cdc-ncm-ethernet.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "zephyr,cdc-ncm-ethernet" 8 include: ethernet-controller.yaml 11 remote-mac-address: 15 Remote MAC address of the virtual Ethernet connection. 16 Should not be the same as local-mac-address property.
|
/Zephyr-latest/subsys/usb/device/class/netusb/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 18 Class (CDC) USB protocol specified by USB-IF. 29 bool "USB Remote NDIS (RNDIS) Networking device" 33 Remote NDIS (RNDIS) is commonly used Microsoft vendor protocol with 52 string "USB ECM Host OS MAC Address" 55 MAC Host OS Address string. 56 MAC Address which would be assigned to network device, created in 58 default MAC. 88 module-dep = LOG 89 module-str = USB Device Network log level
|
/Zephyr-latest/samples/net/zperf/ |
D | usbd_next_ecm.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 compatible = "zephyr,cdc-ecm-ethernet"; 10 remote-mac-address = "00005E005301";
|
D | usbd_next_ncm.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 compatible = "zephyr,cdc-ncm-ethernet"; 10 remote-mac-address = "00005E005301";
|
/Zephyr-latest/samples/net/sockets/echo_server/ |
D | usbd_next_ncm.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 compatible = "zephyr,cdc-ncm-ethernet"; 10 remote-mac-address = "00005E005301";
|
/Zephyr-latest/drivers/wifi/winc1500/ |
D | wifi_winc1500.c | 4 * SPDX-License-Identifier: Apache-2.0 61 SOCK_ERR_INVALID_ADDRESS = -1, 62 SOCK_ERR_ADDR_ALREADY_IN_USE = -2, 63 SOCK_ERR_MAX_TCP_SOCK = -3, 64 SOCK_ERR_MAX_UDP_SOCK = -4, 65 SOCK_ERR_INVALID_ARG = -6, 66 SOCK_ERR_MAX_LISTEN_SOCK = -7, 67 SOCK_ERR_INVALID = -9, 68 SOCK_ERR_ADDR_IS_REQUIRED = -11, 69 SOCK_ERR_CONN_ABORTED = -12, [all …]
|
/Zephyr-latest/tests/subsys/usb/device_next/ |
D | build_all.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 /delete-node/ &zephyr_udc0; 9 #include <dt-bindings/usb/audio.h> 15 full-speed; 16 audio-function = <AUDIO_FUNCTION_OTHER>; 19 compatible = "zephyr,uac2-clock-source"; 20 clock-type = "internal-programmable"; 21 frequency-control = "host-programmable"; 22 sampling-frequencies = <48000>; 26 compatible = "zephyr,uac2-input-terminal"; [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_lan9250.c | 1 /* LAN9250 Stand-alone Ethernet Controller with SPI 5 * SPDX-License-Identifier: Apache-2.0 24 static int lan9250_write_sys_reg(const struct device *dev, uint16_t address, uint32_t data) in lan9250_write_sys_reg() argument 26 const struct lan9250_config *config = dev->config; in lan9250_write_sys_reg() 33 sys_put_be16(address, addr); in lan9250_write_sys_reg() 43 return spi_write_dt(&config->spi, &tx); in lan9250_write_sys_reg() 46 static int lan9250_read_sys_reg(const struct device *dev, uint16_t address, uint32_t *value) in lan9250_read_sys_reg() argument 48 const struct lan9250_config *config = dev->config; in lan9250_read_sys_reg() 56 sys_put_be16(address, addr); in lan9250_read_sys_reg() 72 return spi_transceive_dt(&config->spi, &tx, &rx); in lan9250_read_sys_reg() [all …]
|
D | phy_gecko.c | 5 * SPDX-License-Identifier: Apache-2.0 18 /* Maximum time to establish a link through auto-negotiation for 19 * 10BASE-T, 100BASE-TX is 3.7s, to add an extra margin the timeout 24 /* Enable MDIO serial bus between MAC and PHY. */ 27 eth->NETWORKCTRL |= ETH_NETWORKCTRL_MANPORTEN; in mdio_bus_enable() 30 /* Enable MDIO serial bus between MAC and PHY. */ 33 eth->NETWORKCTRL &= ~ETH_NETWORKCTRL_MANPORTEN; in mdio_bus_disable() 41 while (!(eth->NETWORKSTATUS & ETH_NETWORKSTATUS_MANDONE)) { in mdio_bus_wait() 42 if (retries-- == 0U) { in mdio_bus_wait() 44 return -ETIMEDOUT; in mdio_bus_wait() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | ieee802154_radio.h | 5 * SPDX-License-Identifier: Apache-2.0 12 * @note All references to the standard in this file cite IEEE 802.15.4-2020. 38 * @details This API provides a common representation of vendor-specific 44 * - a basic, mostly PHY-level driver API to be implemented by all drivers, 45 * - several optional MAC-level extension points to offload performance 46 * critical or timing sensitive aspects at MAC level to the driver hardware 47 * or firmware ("hard" MAC). 51 * offloading to vendor-specific hardware or firmware features may be required 56 * Whether or not MAC-level offloading extension points need to be implemented 58 * provide a "soft" MAC fallback whenever possible. [all …]
|
D | net_ip.h | 4 * Generic IPv6 and IPv4 address definitions. 10 * SPDX-License-Identifier: Apache-2.0 50 #define PF_LOCAL 6 /**< Inter-process communication */ 51 #define PF_UNIX PF_LOCAL /**< Inter-process communication */ 53 /* Address families. */ 54 #define AF_UNSPEC PF_UNSPEC /**< Unspecified address family. */ 60 #define AF_LOCAL PF_LOCAL /**< Inter-process communication */ 61 #define AF_UNIX PF_UNIX /**< Inter-process communication */ 65 IPPROTO_IP = 0, /**< IP protocol (pseudo-val for setsockopt() */ 94 /** @brief Convert 16-bit value from network to host byte order. [all …]
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154.c | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief IEEE 802.15.4 MAC layer implementation 11 * All references to the spec refer to IEEE 802.15.4-2020. 79 if (!mpdu->mhr.fs->fc.ar) { in ieee802154_acknowledge() 89 if (ieee802154_create_ack_frame(iface, pkt, mpdu->mhr.fs->sequence)) { in ieee802154_acknowledge() 91 ieee802154_radio_tx(iface, IEEE802154_TX_MODE_DIRECT, pkt, pkt->buffer); in ieee802154_acknowledge() 109 struct ieee802154_fcf_seq *fs = (struct ieee802154_fcf_seq *)frag->data; in ieee802154_prepare_for_ack() 112 ctx->ack_seq = fs->sequence; in ieee802154_prepare_for_ack() 113 if (k_sem_count_get(&ctx->ack_lock) == 1U) { in ieee802154_prepare_for_ack() 114 k_sem_take(&ctx->ack_lock, K_NO_WAIT); in ieee802154_prepare_for_ack() [all …]
|
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/ |
D | README.rst | 1 .. zephyr:code-sample:: secure-mqtt-sensor-actuator 3 :relevant-api: mqtt_socket sensor_interface 5 Implement an MQTT-based IoT sensor/actuator device 12 to a remote MQTT broker, while responding to commands received over MQTT. 16 - Establishing network connectivity using a DHCPv4 lease 17 - Establishing a secure MQTT connection (using TLS 1.2) to MQTT broker 18 - Publishing temperature sensor data in JSON format to the MQTT broker at a user-defined interval 19 - Subscribing to user-defined topic(s) on MQTT broker 20 - Responding to commands received over the network (LED control) 21 - Handling of MQTT connection, re-connecting and keep-alive [all …]
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | ethernet.c | 2 * Copyright (c) 2016-2018 Intel Corporation. 4 * SPDX-License-Identifier: Apache-2.0 53 * "An IP host group address is mapped to an Ethernet multicast in net_eth_ipv4_mcast_to_mac_addr() 54 * address by placing the low-order 23-bits of the IP address into in net_eth_ipv4_mcast_to_mac_addr() 55 * the low-order 23 bits of the Ethernet multicast address in net_eth_ipv4_mcast_to_mac_addr() 56 * 01-00-5E-00-00-00 (hex)." in net_eth_ipv4_mcast_to_mac_addr() 58 mac_addr->addr[0] = 0x01; in net_eth_ipv4_mcast_to_mac_addr() 59 mac_addr->addr[1] = 0x00; in net_eth_ipv4_mcast_to_mac_addr() 60 mac_addr->addr[2] = 0x5e; in net_eth_ipv4_mcast_to_mac_addr() 61 mac_addr->addr[3] = ipv4_addr->s4_addr[1]; in net_eth_ipv4_mcast_to_mac_addr() [all …]
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_common.h | 4 * SPDX-License-Identifier: Apache-2.0 23 #define ISSET_FLAG(p, f) (((p)->flags & (f)) == (f)) 24 #define SET_FLAG(p, f) ((p)->flags |= (f)) 25 #define CLEAR_FLAG(p, f) ((p)->flags &= ~(f)) 32 #define GET_CURRENT_PD(p) ((p)->current_pd) 35 (p)->current_pd = osdp_to_pd(p, i); \ 38 (uint32_t)((1 << ((ctx)->num_pd)) - 1) 39 #define AES_PAD_LEN(x) ((x + 16 - 1) & (~(16 - 1))) 40 #define NUM_PD(ctx) ((ctx)->num_pd) 105 #define SCS_11 0x11 /* CP -> PD -- CMD_CHLNG */ [all …]
|
/Zephyr-latest/drivers/wifi/esp_at/ |
D | esp.c | 5 * SPDX-License-Identifier: Apache-2.0 73 cmd[sizeof(cmd) - 1] = '\0'; in esp_configure_hostname() 83 uint8_t flags = data->flags; in esp_mode_from_flags() 111 cmd[sizeof(cmd) - 2] = ('0' + mode); in esp_mode_switch() 125 uint8_t old_mode = data->mode; in esp_mode_switch_if_needed() 132 data->mode = new_mode; in esp_mode_switch_if_needed() 151 if (data->mode != esp_mode_from_flags(data)) { in esp_mode_switch_submit_if_needed() 152 k_work_submit_to_queue(&data->workq, &data->mode_switch_work); in esp_mode_switch_submit_if_needed() 189 k_sem_give(&dev->sem_response); in MODEM_CMD_DEFINE() 200 modem_cmd_handler_set_error(data, -EIO); in MODEM_CMD_DEFINE() [all …]
|
/Zephyr-latest/tests/net/udp/src/ |
D | main.c | 1 /* main.c - Application main entry point */ 6 * SPDX-License-Identifier: Apache-2.0 65 struct net_udp_context *net_udp_context = dev->data; in net_udp_dev_init() 74 struct net_udp_context *context = dev->data; in net_udp_get_mac() 76 if (context->mac_addr[2] == 0x00) { in net_udp_get_mac() 77 /* 00-00-5E-00-53-xx Documentation RFC 7042 */ in net_udp_get_mac() 78 context->mac_addr[0] = 0x00; in net_udp_get_mac() 79 context->mac_addr[1] = 0x00; in net_udp_get_mac() 80 context->mac_addr[2] = 0x5E; in net_udp_get_mac() 81 context->mac_addr[3] = 0x00; in net_udp_get_mac() [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-4.0.rst | 15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`) 18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage 25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`, 26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported. 31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex 32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`. 44 expose metrics to Prometheus clients over HTTP, facilitating the consolidated remote monitoring of 50 directory for :zephyr:code-sample-category:`code samples <samples>`. 70 * :cve:`2024-8798`: Under embargo until 2024-11-22 71 * :cve:`2024-10395`: Under embargo until 2025-01-23 [all …]
|
D | release-notes-3.5.rst | 38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3 39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_ 41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j 42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_ 44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7 45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_ 47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4 48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_ 50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh 51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_ [all …]
|
D | release-notes-1.13.rst | 16 * Support for IEEE 802.1AS-2011 generalized Precision Time Protocol (gPTP) 23 * Basic support for Arm TrustZone in Armv8-M 42 * arch: arm: implement ARMv8-M MPU driver 44 * arch: arm: macro API for defining non-secure entry functions 48 * arch: ARM: Change the march used by cortex-m0 and cortex-m0plus 50 * arch: arm: basic Arm TrustZone-M functionality for Cortex-M23 and Cortex-M33 51 * arch: arm: built-in stack protection using Armv8-M SPLIM registers 52 * arch: arm: API for using TT intrinsics in Secure/Non-Secure Armv8-M firmware 63 * riscv32: riscv-privilege: Microsemi Mi-V support 89 * eth: mcux: Added an option for randomized, but stable MAC address [all …]
|
D | release-notes-3.7.rst | 10 This release is the last non-maintenance 3.x release and, as such, will be the next 18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API, 21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017 25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio 29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and 35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr. 39 1588) allows to synchronize time across devices with sub-microsecond accuracy. 52 * 1-Wire 71 :ref:`pinctrl-guide` for more details. 88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8 [all …]
|
D | release-notes-2.3.rst | 18 with future support for features like 64-bit and absolute timeouts in mind 21 * Zephyr now integrates with the TF-M (Trusted Firmware M) PSA-compliant 24 * The CMSIS-DSP library is now included and integrated 33 * CVE-2020-10022: UpdateHub Module Copies a Variable-Sized Hash String 34 into a fixed-size array. 35 * CVE-2020-10059: UpdateHub Module Explicitly Disables TLS 37 * CVE-2020-10061: Improper handling of the full-buffer case in the 39 * CVE-2020-10062: Packet length decoding error in MQTT 40 * CVE-2020-10063: Remote Denial of Service in CoAP Option Parsing Due 42 * CVE-2020-10068: In the Zephyr project Bluetooth subsystem, certain [all …]
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_rt11xx.dtsi | 2 * Copyright 2021,2023-2024 NXP 4 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv7-m.dtsi> 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/clock/imx_ccm_rev2.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 13 #include <zephyr/dt-bindings/pwm/pwm.h> 14 #include <zephyr/dt-bindings/power/imx_spc.h> 15 #include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h> [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | smp.c | 8 * Copyright (c) 2015-2016 Intel Corporation 10 * SPDX-License-Identifier: Apache-2.0 132 SMP_FLAG_DHCHECK_WAIT, /* if waiting for remote DHCheck (as periph) */ 138 /* Total number of flags - must be at the end */ 144 /* Commands that remote is allowed to send */ 165 /* Remote random number */ 171 /* Remote Public Key for LE SC */ 177 /* Remote DHKey check */ 192 /* LE SC remote OOB data */ 198 /* Remote key distribution */ [all …]
|