Home
last modified time | relevance | path

Searched refs:addr_type (Results 1 – 25 of 41) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dll_addr.c41 uint8_t ll_addr_set(uint8_t addr_type, uint8_t const *const bdaddr) argument
58 if (addr_type) {
75 uint8_t *ll_addr_get(uint8_t addr_type) argument
77 if (addr_type > BT_ADDR_LE_RANDOM) {
81 if (addr_type) {
88 uint8_t *ll_addr_read(uint8_t addr_type, uint8_t *const bdaddr) argument
92 addr = ll_addr_get(addr_type);
Dull_filter.h8 bool ull_filter_ull_pal_addr_match(const uint8_t addr_type,
10 bool ull_filter_ull_pal_match(const uint8_t addr_type,
12 bool ull_filter_ull_pal_listed(const uint8_t rl_idx, uint8_t *const addr_type,
Dull_filter.c125 static uint8_t fal_find(uint8_t addr_type, const uint8_t *const addr,
142 static uint32_t filter_add(struct lll_filter *filter, uint8_t addr_type,
144 static uint32_t filter_remove(struct lll_filter *filter, uint8_t addr_type,
149 uint8_t addr_type, const uint8_t *const bdaddr);
151 uint8_t addr_type, const uint8_t *const bdaddr);
188 static uint8_t pal_addr_find(const uint8_t addr_type,
191 static uint8_t pal_find(const uint8_t addr_type, const uint8_t *const addr,
578 bool ull_filter_ull_pal_addr_match(const uint8_t addr_type, in ull_filter_ull_pal_addr_match() argument
582 if (PAL_ADDR_MATCH(addr_type, addr)) { in ull_filter_ull_pal_addr_match()
590 bool ull_filter_ull_pal_match(const uint8_t addr_type, in ull_filter_ull_pal_match() argument
[all …]
Dull_sync_internal.h13 uint8_t addr_type, uint8_t *addr, uint8_t rl_idx);
31 uint8_t addr_type, uint8_t sca, uint8_t phy,
Dull_internal.h53 #define MARK_AS_IDENTITY_ADDR(addr_type) ((addr_type) += 2U) argument
Dull_llcp_past.c154 ctx->data.periodic_sync.addr_type = id_addr_type; in rp_past_resolve_cb()
219 if (ctx->data.periodic_sync.addr_type == BT_ADDR_LE_RANDOM) { in rp_past_st_wait_rx()
255 ctx->data.periodic_sync.addr_type, in rp_past_st_wait_rx()
292 ctx->data.periodic_sync.addr_type, in rp_past_st_wait_next_evt()
Dull_sync.c884 uint8_t addr_type, uint8_t *addr, uint8_t rl_idx) in ull_sync_setup_addr_check() argument
890 if (ull_filter_ull_pal_addr_match(addr_type, addr)) { in ull_sync_setup_addr_check()
894 sync->peer_id_addr_type = addr_type; in ull_sync_setup_addr_check()
903 ull_filter_ull_pal_listed(rl_idx, &addr_type, in ull_sync_setup_addr_check()
908 sync->peer_id_addr_type = addr_type; in ull_sync_setup_addr_check()
918 } else if ((addr_type == sync->peer_id_addr_type) && in ull_sync_setup_addr_check()
926 ll_rl_id_addr_get(rl_idx, &addr_type, addr); in ull_sync_setup_addr_check()
927 if ((addr_type == sync->peer_id_addr_type) && in ull_sync_setup_addr_check()
1921 uint8_t addr_type, uint8_t sca, uint8_t phy, argument
1939 if (peer_sid_sync_exists(addr_type, adv_addr, sid)) {
[all …]
Dlll_filter.h98 uint8_t addr_type,
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/device/test_scripts/
Drun_tests.sh47 for addr_type in "${TEST_ADDR_TYPE[@]}"; do
48 echo "Starting iteration $sim_id_count: ${args[@]} $addr_type"
54 active-scan=${use_active_scan} addr-type="${addr_type}"
58 -RealEncryption=1 -argstest sim-id=${sim_id_count} addr-type="${addr_type}" \
/Zephyr-latest/tests/bluetooth/controller/ctrl_periodic_sync/src/
Dmain.c115 uint8_t addr_type, uint8_t sca, uint8_t phy, in ull_sync_transfer_received_custom_fake() argument
153 .addr_type = 0x00, in ZTEST()
255 .addr_type = 0x01, in ZTEST()
352 .addr_type = 0x00, in ZTEST()
364 .addr_type = 0x01, in ZTEST()
487 .addr_type = 0x00, in ZTEST()
599 .addr_type = 0x01, in ZTEST()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/shell/
Dll.c29 uint8_t addr_type; in cmd_ll_addr_read() local
40 addr_type = 1U; in cmd_ll_addr_read()
42 addr_type = 0U; in cmd_ll_addr_read()
47 (void)ll_addr_read(addr_type, addr.val); in cmd_ll_addr_read()
/Zephyr-latest/samples/net/ipv4_autoconf/src/
Dmain.c46 if (cfg->ip.ipv4->unicast[i].ipv4.addr_type != NET_ADDR_AUTOCONF) { in handler()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_scan_internal.h10 bool lll_scan_adva_check(const struct lll_scan *lll, uint8_t addr_type,
Dlll_scan.c87 uint8_t addr_type, const uint8_t *addr,
90 uint8_t addr_type,
161 bool lll_scan_adva_check(const struct lll_scan *lll, uint8_t addr_type, in lll_scan_adva_check() argument
168 } else if (!ull_filter_lll_rl_addr_allowed(addr_type, addr, &rl_idx)) { in lll_scan_adva_check()
180 return ((lll->adv_addr_type == addr_type) && in lll_scan_adva_check()
1448 uint8_t addr_type, const uint8_t *addr, argument
1452 if (ull_filter_lll_rl_addr_resolve(addr_type, addr, rl_idx)) {
1462 return (((lll->init_addr_type == addr_type) &&
1467 isr_scan_tgta_rpa_check(lll, addr_type, addr, dir_report);
1471 uint8_t addr_type, argument
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dnet_shell.c50 const char *addrtype2str(enum net_addr_type addr_type) in addrtype2str() argument
52 switch (addr_type) { in addrtype2str()
Dnet_shell_private.h84 const char *addrtype2str(enum net_addr_type addr_type);
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/device/src/
Dtest_undirected_peripheral.c186 enum addr_type_t addr_type) in update_adv_params() argument
216 if (addr_type == IDENTITY_ADDR) { in update_adv_params()
219 } else if (addr_type == RPA) { in update_adv_params()
/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread_utils.c205 if (if_addr->addr_type == NET_ADDR_AUTOCONF) { in add_ipv6_addr_to_ot()
207 } else if (if_addr->addr_type == NET_ADDR_DHCP) { in add_ipv6_addr_to_ot()
209 } else if (if_addr->addr_type == NET_ADDR_MANUAL) { in add_ipv6_addr_to_ot()
/Zephyr-latest/samples/net/dhcpv4_client/src/
Dmain.c53 if (iface->config.ip.ipv4->unicast[i].ipv4.addr_type != in handler()
/Zephyr-latest/samples/net/dns_resolve/src/
Dmain.c179 if (if_addr->addr_type != NET_ADDR_DHCP) { in print_dhcpv4_addr()
225 if (if_addr->addr_type != NET_ADDR_DHCP) { in check_dhcpv4_addr()
/Zephyr-latest/drivers/flash/
Dflash_cadence_qspi_nor_ll.c60 uint32_t instr_type, uint32_t addr_type, uint32_t data_type, in cad_qspi_set_read_config() argument
69 CAD_QSPI_DEV_ADDR_TYPE(addr_type) | CAD_QSPI_DEV_DATA_TYPE(data_type) | in cad_qspi_set_read_config()
78 uint32_t addr_type, uint32_t data_type, uint32_t dummy_clk_cycle) in cad_qspi_set_write_config() argument
85 sys_write32(CAD_QSPI_DEV_OPCODE(opcode) | CAD_QSPI_DEV_ADDR_TYPE(addr_type) | in cad_qspi_set_write_config()
/Zephyr-latest/tests/boards/espressif/ethernet/src/
Dmain.c37 (iface->config.ip.ipv4->unicast[0].ipv4.addr_type != NET_ADDR_DHCP)) { in ipv4_event()
/Zephyr-latest/subsys/net/lib/config/
Dinit.c74 if (if_addr->addr_type != NET_ADDR_DHCP || in print_dhcpv4_info()
286 if (ifaddr->addr_type == NET_ADDR_DHCP) { in ipv6_event_handler()
/Zephyr-latest/subsys/net/ip/
Dnet_if.c1923 enum net_addr_type addr_type, in net_if_addr_init() argument
1929 ifaddr->addr_type = addr_type; in net_if_addr_init()
1951 enum net_addr_type addr_type, in net_if_ipv6_addr_add() argument
1973 net_if_addr_init(&ipv6->unicast[i], addr, addr_type, in net_if_ipv6_addr_add()
1979 net_addr_type2str(addr_type)); in net_if_ipv6_addr_add()
2057 enum net_addr_type addr_type, in z_impl_net_if_ipv6_addr_add_by_index() argument
2067 return net_if_ipv6_addr_add(iface, addr, addr_type, vlifetime) ? in z_impl_net_if_ipv6_addr_add_by_index()
2074 enum net_addr_type addr_type, in z_vrfy_net_if_ipv6_addr_add_by_index() argument
2089 addr_type, in z_vrfy_net_if_ipv6_addr_add_by_index()
2471 ipv6->unicast[i].addr_type != NET_ADDR_AUTOCONF) { in remove_prefix_addresses()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/include/
Dll.h15 uint8_t ll_addr_set(uint8_t addr_type, uint8_t const *const p_bdaddr);
16 uint8_t *ll_addr_get(uint8_t addr_type);
17 uint8_t *ll_addr_read(uint8_t addr_type, uint8_t *const bdaddr);

12