Home
last modified time | relevance | path

Searched refs:prefix (Results 26 – 50 of 180) sorted by relevance

12345678

/Zephyr-latest/samples/net/vlan/
DKconfig57 int "IPv6 address prefix length for the interfaces"
61 Set the IPv6 address prefix length (netmask) for the interfaces
/Zephyr-latest/doc/services/retention/
Dindex.rst24 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/subsys/net/lib/dhcpv6/
Ddhcpv6.c403 ret = net_pkt_write(pkt, &ia_pd->iaprefix.prefix, in dhcpv6_add_option_ia_pd()
404 sizeof(ia_pd->iaprefix.prefix)); in dhcpv6_add_option_ia_pd()
538 memcpy(&ia_pd.iaprefix.prefix, &iface->config.dhcpv6.prefix, in dhcpv6_add_options()
539 sizeof(ia_pd.iaprefix.prefix)); in dhcpv6_add_options()
1031 ret = net_pkt_read(pkt, &iaprefix->prefix, sizeof(iaprefix->prefix)); in dhcpv6_parse_option_iaprefix()
1044 net_sprint_ipv6_addr(&iaprefix->prefix), iaprefix->prefix_len, in dhcpv6_parse_option_iaprefix()
1689 goto prefix; in dhcpv6_handle_reply()
1721 prefix: in dhcpv6_handle_reply()
1729 net_if_ipv6_prefix_rm(iface, &iface->config.dhcpv6.prefix, in dhcpv6_handle_reply()
1731 memset(&iface->config.dhcpv6.prefix, 0, sizeof(struct in6_addr)); in dhcpv6_handle_reply()
[all …]
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_link_format.c257 static const char prefix[] = "</"; in format_uri() local
265 res = append_to_coap_pkt(response, &prefix[0], sizeof(prefix) - 1, in format_uri()
558 char *prefix = "</"; in format_uri() local
565 res = append(response, (uint8_t *) prefix, strlen(prefix)); in format_uri()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_hostname.rst29 ``zephyr010203040506``. If you want to set the prefix yourself, then call
31 Alternatively, if you prefer a hexadecimal conversion for the prefix, then call
/Zephyr-latest/subsys/net/ip/
Dipv6_nbr.c2196 struct net_if_ipv6_prefix *prefix; in handle_prefix_onlink() local
2198 prefix = net_if_ipv6_prefix_lookup(net_pkt_iface(pkt), in handle_prefix_onlink()
2199 (struct in6_addr *)prefix_info->prefix, in handle_prefix_onlink()
2201 if (!prefix) { in handle_prefix_onlink()
2206 prefix = net_if_ipv6_prefix_add(net_pkt_iface(pkt), in handle_prefix_onlink()
2207 (struct in6_addr *)prefix_info->prefix, in handle_prefix_onlink()
2210 if (prefix) { in handle_prefix_onlink()
2214 net_sprint_ipv6_addr(&prefix_info->prefix), in handle_prefix_onlink()
2220 net_sprint_ipv6_addr(&prefix_info->prefix), in handle_prefix_onlink()
2234 net_sprint_ipv6_addr(&prefix_info->prefix), in handle_prefix_onlink()
[all …]
D6lo.c27 struct in6_addr prefix; member
172 net_ipv6_addr_copy_raw((uint8_t *)&ctx_6co[index].prefix, context->prefix); in set_6lo_context()
244 !memcmp(ctx_6co[i].prefix.s6_addr, addr->s6_addr, 8)) { in get_6lo_context_by_addr()
1001 memmove(&src_ip.s6_addr[0], &ctx->prefix.s6_addr[0], 8); in uncompress_sa_ctx()
1016 memmove(&src_ip.s6_addr[0], &ctx->prefix.s6_addr[0], 8); in uncompress_sa_ctx()
1038 memmove(&src_ip.s6_addr[0], &ctx->prefix.s6_addr[0], 8); in uncompress_sa_ctx()
1214 memmove(&dst_ip.s6_addr[0], &ctx->prefix.s6_addr[0], 8); in uncompress_da_ctx()
1225 memmove(&dst_ip.s6_addr[0], &ctx->prefix.s6_addr[0], 8); in uncompress_da_ctx()
1247 memmove(&dst_ip.s6_addr[0], &ctx->prefix.s6_addr[0], 8); in uncompress_da_ctx()
/Zephyr-latest/drivers/serial/
Duart_nrfx_uarte.c46 #define IS_INT_DRIVEN(unused, prefix, i, _) \ argument
47 (IS_ENABLED(CONFIG_HAS_HW_NRF_UARTE##prefix##i) && \
48 IS_ENABLED(CONFIG_UART_##prefix##i##_INTERRUPT_DRIVEN))
55 #define IS_NOT_ASYNC(unused, prefix, i, _) \ argument
56 (IS_ENABLED(CONFIG_HAS_HW_NRF_UARTE##prefix##i) && \
57 !IS_ENABLED(CONFIG_UART_##prefix##i##_ASYNC))
64 #define IS_ASYNC(unused, prefix, i, _) \ argument
65 (IS_ENABLED(CONFIG_HAS_HW_NRF_UARTE##prefix##i) && \
66 IS_ENABLED(CONFIG_UART_##prefix##i##_ASYNC))
73 #define IS_HW_ASYNC(unused, prefix, i, _) IS_ENABLED(CONFIG_UART_##prefix##i##_NRF_HW_ASYNC) argument
[all …]
Dleuart_gecko.c18 #define CLOCK_ID_PRFX2(prefix, suffix) prefix##suffix argument
19 #define CLOCK_ID_PRFX(prefix, suffix) CLOCK_ID_PRFX2(prefix, suffix) argument
/Zephyr-latest/cmake/compiler/gcc/
Dtarget_arm64.cmake31 -fmacro-prefix-map=.*
/Zephyr-latest/tests/subsys/settings/functional/src/
Dsettings_basic_test.c552 const char *prefix = filtered_loader_settings.name; in ZTEST() local
573 strcpy(buffer, prefix); in ZTEST()
580 strcpy(buffer, prefix); in ZTEST()
586 strcpy(buffer, prefix); in ZTEST()
596 prefix, in ZTEST()
611 rc = settings_load_subtree(prefix); in ZTEST()
/Zephyr-latest/tests/subsys/logging/log_msg/src/
Dmain.c465 static const char *prefix = "prefix"; in ZTEST() local
470 NULL, 0, "test %s", prefix); in ZTEST()
476 NULL, 0, "test %s", prefix); in ZTEST()
505 static const char *prefix = "prefix"; in ZTEST() local
511 NULL, 0, TEST_STR, prefix, sufix); in ZTEST()
517 NULL, 0, TEST_STR, prefix, sufix); in ZTEST()
/Zephyr-latest/tests/net/ipv6/src/
Dmain.c818 struct net_if_ipv6_prefix *prefix; in ZTEST() local
824 prefix = net_if_ipv6_prefix_add(TEST_NET_IF, &addr, len, lifetime); in ZTEST()
825 zassert_not_null(prefix, "Cannot get prefix"); in ZTEST()
827 net_if_ipv6_prefix_set_lf(prefix, false); in ZTEST()
828 net_if_ipv6_prefix_set_timer(prefix, lifetime); in ZTEST()
832 prefix = net_if_ipv6_prefix_lookup(TEST_NET_IF, &addr, len); in ZTEST()
833 zassert_is_null(prefix, "Prefix %s/%d should have expired", in ZTEST()
840 struct in6_addr prefix = { { { 0x20, 1, 0x0d, 0xb8, 43, 0, 0, 0, in ZTEST() local
847 ifprefix = net_if_ipv6_prefix_add(TEST_NET_IF, &prefix, len, lifetime); in ZTEST()
862 ret = net_if_ipv6_prefix_rm(TEST_NET_IF, &prefix, len); in ZTEST()
[all …]
/Zephyr-latest/boards/arm/mps2/
DCMakeLists.txt11 set(CPU0_BINARY_DIR ${BOARD_DIR}/empty_cpu0-prefix/src/empty-cpu0-build/zephyr)
/Zephyr-latest/subsys/logging/backends/
DKconfig.fs43 string "Log file name prefix"
47 The prefix is followed by the number of log file.
/Zephyr-latest/tests/bsim/bluetooth/host/security/id_addr_update/peripheral/src/
Dutils.c60 static void print_conn_state_transition(const char *prefix, struct bt_conn *conn) in print_conn_state_transition() argument
70 printk("%s: %s\n", prefix, addr_str); in print_conn_state_transition()
/Zephyr-latest/doc/_extensions/zephyr/
Dgh_utils.py84 for pattern, prefix in app.config.gh_link_prefixes.items():
86 found_prefix = prefix
/Zephyr-latest/tests/bsim/bluetooth/host/security/id_addr_update/central/src/
Dutils.c61 static void print_conn_state_transition(const char *prefix, struct bt_conn *conn) in print_conn_state_transition() argument
71 printk("%s: %s\n", prefix, addr_str); in print_conn_state_transition()
/Zephyr-latest/tests/boot/mcuboot_recovery_retention/boards/
Dnrf52840dk_nrf52840_mem.overlay20 prefix = [08 04];
/Zephyr-latest/include/zephyr/
Dsw_isr_table.h194 #define _MK_ISR_SECTION_NAME(prefix, file, counter) \ argument
195 "." Z_STRINGIFY(prefix)"."file"." Z_STRINGIFY(counter)
/Zephyr-latest/drivers/pwm/
Dpwm_nrfx.c411 #define COND_PWM_NRFX_DEVICE(unused, prefix, i, _) \ argument
412 IF_ENABLED(CONFIG_HAS_HW_NRF_PWM##prefix##i, (PWM_NRFX_DEVICE(prefix##i);))
/Zephyr-latest/tests/bluetooth/hci_prop_evt/src/
Dmain.c31 uint8_t prefix[2]; member
312 if (memcmp(&pe->prefix[0], &hci_prop_evt_prefix[0], in prop_cb()
345 memcpy(&pe->prefix[0], &hci_prop_evt_prefix[0], in prop_evt()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt_client/
DKconfig12 # try to group them together by the same stem after prefix.
/Zephyr-latest/cmake/compiler/host-gcc/
Dtarget.cmake42 -fmacro-prefix-map=.*
/Zephyr-latest/cmake/toolchain/cross-compile/
Dgeneric.cmake12 # prefix. This interface is consistent with the other non-"Zephyr SDK"

12345678