/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_gateway.c | 36 "Gateway prefix requires validation"); 47 char prefix[CONFIG_LWM2M_GATEWAY_PREFIX_MAX_STR_SIZE]; member 73 /* Prefix can't be empty because it is used to reference device */ in prefix_validation_cb() 78 /* Prefix of each gateway must be unique */ in prefix_validation_cb() 80 length = strlen(device_table[i].prefix); in prefix_validation_cb() 82 if (strncmp(device_table[i].prefix, data, length) == 0) { in prefix_validation_cb() 122 snprintk(device_table[index].prefix, CONFIG_LWM2M_GATEWAY_PREFIX_MAX_STR_SIZE, in lwm2m_gw_create() 137 true, device_table[index].prefix, CONFIG_LWM2M_GATEWAY_PREFIX_MAX_STR_SIZE, in lwm2m_gw_create() 138 strlen(device_table[index].prefix) + 1, NULL, NULL, prefix_validation_cb, in lwm2m_gw_create() 168 char *prefix = device_table[index].prefix; in lwm2m_gw_handle_req() local [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | ipv6_pe.c | 91 static bool ipv6_pe_use_this_prefix(const struct in6_addr *prefix) in ipv6_pe_use_this_prefix() argument 106 if (net_ipv6_addr_cmp(prefix, &ipv6_pe_filter[i])) { in ipv6_pe_use_this_prefix() 130 ARG_UNUSED(prefix); in ipv6_pe_use_this_prefix() 137 const struct in6_addr *prefix) in ipv6_pe_prefix_already_exists() argument 149 (uint8_t *)prefix, 64)) { in ipv6_pe_prefix_already_exists() 159 const struct in6_addr *prefix) in ipv6_pe_prefix_remove() argument 169 (uint8_t *)prefix, 64)) { in ipv6_pe_prefix_remove() 180 const struct in6_addr *prefix, in ipv6_pe_prefix_update_lifetimes() argument 192 (uint8_t *)prefix, 64))) { in ipv6_pe_prefix_update_lifetimes() 208 * prefix should be in a non-deprecated state at any given in ipv6_pe_prefix_update_lifetimes() [all …]
|
/Zephyr-latest/tests/lib/heap_align/src/ |
D | main.c | 24 size_t prefix, size_t align, size_t size) in check_heap_align() argument 28 p = sys_heap_alloc(h, prefix); in check_heap_align() 29 zassert_true(prefix == 0 || p != NULL, "prefix allocation failed"); in check_heap_align() 44 prefix, align, size); in check_heap_align() 78 for (size_t prefix = 0; prefix <= align; prefix += 8) { in ZTEST() local 80 check_heap_align(&heap, prefix, align, size); in ZTEST()
|
/Zephyr-latest/dts/bindings/retention/ |
D | zephyr,retention.yaml | 6 64-byte area with 2-byte prefix and 1-byte checksum with 61 usable bytes 25 prefix = [04 fa]; 47 prefix and checksum (if enabled). 52 prefix: 54 An optional magic prefix, which indicates that the data has been set
|
/Zephyr-latest/samples/application_development/external_lib/mylib/ |
D | Makefile | 8 PREFIX ?= . macro 9 OBJ_DIR ?= $(PREFIX)/obj 10 LIB_DIR ?= $(PREFIX)/lib
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | ipv6.c | 60 static void ipv6_pe_filter_cb(struct in6_addr *prefix, bool is_denylist, in ipv6_pe_filter_cb() argument 68 net_addr_ntop(AF_INET6, prefix, ipaddr, sizeof(ipaddr) - 1); in ipv6_pe_filter_cb() 112 struct net_if_ipv6_prefix *prefix; in address_lifetime_cb() local 118 prefix = net_if_ipv6_prefix_get(iface, in address_lifetime_cb() 120 if (prefix) { in address_lifetime_cb() 121 prefix_len = prefix->len; in address_lifetime_cb() 342 struct in6_addr prefix; in cmd_net_ip6_pe() local 348 PR_ERROR("Correct usage: net ipv6 pe [add | del] [allow | deny] [<prefix>]\n"); in cmd_net_ip6_pe() 397 ret = net_addr_pton(AF_INET6, argv[arg], &prefix); in cmd_net_ip6_pe() 399 PR("Invalid prefix \"%s\"\n", argv[arg]); in cmd_net_ip6_pe() [all …]
|
D | route.c | 29 PR("IPv6 prefix : %s/%d\n", net_sprint_ipv6_addr(&entry->addr), in route_cb() 120 struct in6_addr prefix = {0}; in cmd_net_ip6_route_add() local 139 if (net_addr_pton(AF_INET6, argv[2], &prefix)) { in cmd_net_ip6_route_add() 149 route = net_route_add(iface, &prefix, NET_IPV6_DEFAULT_PREFIX_LEN, in cmd_net_ip6_route_add() 171 struct in6_addr prefix = { 0 }; in cmd_net_ip6_route_del() local 188 if (net_addr_pton(AF_INET6, argv[2], &prefix)) { in cmd_net_ip6_route_del() 193 route = net_route_lookup(iface, &prefix); in cmd_net_ip6_route_del()
|
/Zephyr-latest/doc/build/dts/ |
D | bindings-upstream.rst | 111 should have a vendor prefix. 115 prefix. 118 invent a vendor prefix. Vendor prefixes are not mandatory parts of compatible 124 file unless you also include users of the new prefix. This means at least a 125 binding and a devicetree using the vendor prefix, and should ideally include 139 the vendor prefix. See :ref:`dt_vendor_zephyr` for examples. 218 The ``zephyr,`` prefix 221 You must add this prefix to property names in the following cases: 227 Zephyr-specific extensions are marked as such with the prefix. 235 long as they use this prefix to show that they are Zephyr specific. [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | dhcpv6.h | 29 /** Current state of DHCPv6 client address/prefix negotiation. */ 65 bool request_prefix : 1; /**< Request IPv6 prefix. */ 72 * negotiation for IPv6 address and/or prefix, depending on the configuration. 73 * Once the negotiation is complete, IPv6 address/prefix details will be added
|
D | net_event.h | 162 /** Event emitted when an IPv6 prefix is added to the system. */ 166 /** Event emitted when an IPv6 prefix is removed from the system. */ 403 /** IPv6 address or prefix of the route */ 405 /** IPv6 prefix length */ 418 /** IPv6 prefix */ 420 /** IPv6 prefix length */ 422 /** IPv6 prefix lifetime in seconds */ 449 struct in6_addr prefix; member
|
/Zephyr-latest/doc/develop/toolchains/ |
D | other_x_compilers.rst | 35 - Set ``CROSS_COMPILE`` to the common path prefix which your 54 directory and have a common file name prefix. The ``CROSS_COMPILE`` variable 55 is set to the directory concatenated with the file name prefix. In the Debian 58 the common prefix is ``/usr/bin/arm-none-eabi-`` (including the trailing dash,
|
/Zephyr-latest/tests/net/dhcpv6/src/ |
D | main.c | 89 memcpy(&test_ctx.iface->config.dhcpv6.prefix, &test_prefix, in set_test_addr_on_iface() 90 sizeof(test_ctx.iface->config.dhcpv6.prefix)); in set_test_addr_on_iface() 98 memset(&test_ctx.iface->config.dhcpv6.prefix, 0, in clear_test_addr_on_iface() 99 sizeof(test_ctx.iface->config.dhcpv6.prefix)); in clear_test_addr_on_iface() 359 struct in6_addr *prefix, uint8_t prefix_len) in verify_dhcpv6_ia_pd() argument 371 if (prefix == NULL) { in verify_dhcpv6_ia_pd() 373 "Prefix should not be present"); in verify_dhcpv6_ia_pd() 383 "Incorrect prefix length"); in verify_dhcpv6_ia_pd() 384 zassert_mem_equal(&ia_pd.iaprefix.prefix, prefix, in verify_dhcpv6_ia_pd() 385 sizeof(ia_pd.iaprefix.prefix), "Incorrect prefix"); in verify_dhcpv6_ia_pd() [all …]
|
/Zephyr-latest/scripts/build/ |
D | gen_kobject_placeholders.py | 30 def write_define(out_fp, prefix, name, value): argument 32 define_name = f"KOBJECT_{prefix}_{name}" 48 prefix = one_sect['define_prefix'] 50 write_define(out_fp, prefix, 'ALIGN', align) 51 write_define(out_fp, prefix, 'SZ', size)
|
/Zephyr-latest/subsys/fs/ |
D | fs_impl.h | 19 * @brief Strip the mount point prefix from a path. 26 * undefined if @p path does not start with the mount point prefix.
|
/Zephyr-latest/lib/os/ |
D | cbprintf_nano.c | 81 char *prefix, *data; in z_cbvprintf_impl() local 102 prefix = ""; in z_cbvprintf_impl() 237 prefix = "-"; in z_cbvprintf_impl() 240 prefix = " "; in z_cbvprintf_impl() 243 prefix = "+"; in z_cbvprintf_impl() 286 prefix = (*fmt & 0x20) ? "0x" : "0X"; in z_cbvprintf_impl() 341 while (*prefix) { in z_cbvprintf_impl() 342 OUTC(*prefix++); in z_cbvprintf_impl()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_hpack.c | 414 uint8_t prefix; in http_hpack_decode_header() local 425 prefix = *buf; in http_hpack_decode_header() 427 if ((prefix & HPACK_PREFIX_INDEXED_MASK) == HPACK_PREFIX_INDEXED) { in http_hpack_decode_header() 429 } else if ((prefix & HPACK_PREFIX_LITERAL_INDEXING_MASK) == in http_hpack_decode_header() 432 } else if (((prefix & HPACK_PREFIX_LITERAL_NO_INDEXING_MASK) == in http_hpack_decode_header() 434 ((prefix & HPACK_PREFIX_LITERAL_NEVER_INDEXED_MASK) == in http_hpack_decode_header() 437 } else if ((prefix & HPACK_PREFIX_DYNAMIC_TABLE_SIZE_MASK) == in http_hpack_decode_header() 448 uint8_t prefix, uint8_t n) in hpack_integer_encode() argument 459 *buf = prefix | (uint8_t)value; in hpack_integer_encode() 464 *buf++ = prefix | limit; in hpack_integer_encode() [all …]
|
/Zephyr-latest/subsys/retention/ |
D | retention.c | 26 #define INST_HAS_PREFIX(n) COND_CODE_1(DT_INST_NODE_HAS_PROP(n, prefix), (1), (0)) || 58 uint8_t prefix[]; member 200 if (memcmp(&config->prefix[pos], buffer, read_size) != 0) { in retention_is_valid() 316 rc = retained_mem_write(config->parent, config->offset, (void *)config->prefix, in retention_write() 414 .reserved_size = (COND_CODE_1(DT_INST_NODE_HAS_PROP(inst, prefix), \ 415 (DT_INST_PROP_LEN(inst, prefix)), (0)) + \ 417 .prefix_len = COND_CODE_1(DT_INST_NODE_HAS_PROP(inst, prefix), \ 418 (DT_INST_PROP_LEN(inst, prefix)), (0)), \ 419 .prefix = DT_INST_PROP_OR(inst, prefix, {0}), \
|
/Zephyr-latest/doc/services/retention/ |
D | index.rst | 24 accessed or updated independently. The prefix and checksum can be set 59 * bytes which includes the prefix and 66 /* This is the prefix which must appear 69 prefix = [08 04]; 83 * includes the prefix and checksum, 89 /* This is the prefix which must appear 92 prefix = [00 11 55 88 fa bc];
|
/Zephyr-latest/samples/net/vlan/ |
D | Kconfig | 57 int "IPv6 address prefix length for the interfaces" 61 Set the IPv6 address prefix length (netmask) for the interfaces
|
/Zephyr-latest/samples/drivers/lcd_cyclonev_socdk/src/ |
D | commands.h | 9 /* Insert Prefix 0xFE before executing command */ 27 /* Syntax prefix LD_CUSTOM_CHAR [addr] [d0 …d7] 49 /* Syntax prefix CHGE_RS232_BAUD [param]
|
/Zephyr-latest/doc/_extensions/zephyr/ |
D | gh_utils.py | 30 - ``gh_link_base_url``: Base URL used as a prefix for generated URLs. 31 - ``gh_link_prefixes``: Mapping of pages (regex) <> GitHub prefix. 62 """Return the prefix that needs to be added to the page path to get its location in the 73 Prefix if applicable, None otherwise. 84 for pattern, prefix in app.config.gh_link_prefixes.items(): 86 found_prefix = prefix
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | at.c | 66 static bool str_has_prefix(const char *str, const char *prefix) in str_has_prefix() argument 68 if (strncmp(str, prefix, strlen(prefix)) != 0) { in str_has_prefix() 337 const char *prefix, parse_val_t func, in at_cmd_start() argument 340 if (!str_has_prefix(at->buf, prefix)) { in at_cmd_start() 360 const char *prefix, parse_val_t func, in at_cmd_get_value() argument 369 const char *prefix, parse_val_t func, in at_cmd_process_value() argument 381 const char *prefix, parse_val_t func, in at_cmd_state_end_lf() argument 405 const char *prefix, parse_val_t func, in at_parse_cmd_input() argument 415 ret = cmd_parser_cb[at->cmd_state](at, buf, prefix, func, type); in at_parse_cmd_input()
|
/Zephyr-latest/subsys/logging/backends/ |
D | Kconfig.fs | 43 string "Log file name prefix" 47 The prefix is followed by the number of log file.
|
/Zephyr-latest/soc/atmel/sam0/common/ |
D | adc_fixup_sam0.h | 77 #define ADC_SAM0_CALIB(prefix, val) \ argument 79 (((*(uint32_t *)UTIL_CAT(UTIL_CAT(UTIL_CAT(prefix, FUSES_), val), _ADDR)) \ 80 >> UTIL_CAT(UTIL_CAT(UTIL_CAT(prefix, FUSES_), val), _Pos)) \ 81 & UTIL_CAT(UTIL_CAT(UTIL_CAT(prefix, FUSES_), val), _Msk)) \
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | net_hostname.rst | 29 ``zephyr010203040506``. If you want to set the prefix yourself, then call 31 Alternatively, if you prefer a hexadecimal conversion for the prefix, then call
|