Home
last modified time | relevance | path

Searched refs:BD_ADDR_LEN (Results 1 – 7 of 7) sorted by relevance

/system/bt/stack/bnep/
Dbnep_utils.cc309 UINT16_TO_BE_STREAM(p, (2 * BD_ADDR_LEN * p_bcb->sent_mcast_filters)); in bnepu_send_peer_our_multi_filters()
311 memcpy(p, p_bcb->sent_mcast_filter_start[xx].address, BD_ADDR_LEN); in bnepu_send_peer_our_multi_filters()
312 p += BD_ADDR_LEN; in bnepu_send_peer_our_multi_filters()
313 memcpy(p, p_bcb->sent_mcast_filter_end[xx].address, BD_ADDR_LEN); in bnepu_send_peer_our_multi_filters()
314 p += BD_ADDR_LEN; in bnepu_send_peer_our_multi_filters()
317 p_buf->len = 4 + (2 * BD_ADDR_LEN * p_bcb->sent_mcast_filters); in bnepu_send_peer_our_multi_filters()
455 memcpy(p, p_dest_addr->address, BD_ADDR_LEN); in bnepu_build_bnep_hdr()
456 p += BD_ADDR_LEN; in bnepu_build_bnep_hdr()
458 memcpy(p, p_src_addr->address, BD_ADDR_LEN); in bnepu_build_bnep_hdr()
459 p += BD_ADDR_LEN; in bnepu_build_bnep_hdr()
[all …]
Dbnep_api.cc619 BD_ADDR_LEN); in BNEP_SetMulticastFilters()
620 memcpy(p_bcb->sent_mcast_filter_end[xx].address, p_end_array, BD_ADDR_LEN); in BNEP_SetMulticastFilters()
622 p_start_array += BD_ADDR_LEN; in BNEP_SetMulticastFilters()
623 p_end_array += BD_ADDR_LEN; in BNEP_SetMulticastFilters()
Dbnep_main.cc536 p += BD_ADDR_LEN; in bnep_data_ind()
538 p += BD_ADDR_LEN; in bnep_data_ind()
579 p += BD_ADDR_LEN; in bnep_data_ind()
586 p += BD_ADDR_LEN; in bnep_data_ind()
/system/bt/stack/include/
Dbt_types.h543 #define BD_ADDR_LEN 6 /* Device address length */ macro
550 for (int ijk = 0; ijk < BD_ADDR_LEN; ijk++) in BDADDR_TO_STREAM()
551 *(p)++ = (uint8_t)(a.address)[BD_ADDR_LEN - 1 - ijk]; in BDADDR_TO_STREAM()
555 uint8_t* pbda = (uint8_t*)(a.address) + BD_ADDR_LEN - 1; in STREAM_TO_BDADDR()
556 for (int ijk = 0; ijk < BD_ADDR_LEN; ijk++) *pbda-- = *(p)++; in STREAM_TO_BDADDR()
/system/bt/stack/hcic/
Dhcicmds.cc680 filt_cond += BD_ADDR_LEN; in btsnd_hcic_set_event_filter()
682 filt_cond_len -= BD_ADDR_LEN; in btsnd_hcic_set_event_filter()
/system/bt/stack/smp/
Dsmp_utils.cc47 #define SMP_ID_ADDR_SIZE (BD_ADDR_LEN + 1 + 1)
/system/bt/stack/btu/
Dbtu_hcif.cc1180 evt_len -= (1 + BD_ADDR_LEN); in btu_hcif_rmt_name_request_comp_evt()