Home
last modified time | relevance | path

Searched refs:u64_t (Results 1 – 16 of 16) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/port/include/misc/
A Dbyteorder.h27 #define __bswap_48(x) ((u64_t) ((((x) >> 40) & 0xff) | \
33 #define __bswap_64(x) ((u64_t) ((((x) >> 56) & 0xff) | \
270 static inline void sys_put_be48(u64_t val, u8_t dst[6]) in sys_put_be48()
285 static inline void sys_put_be64(u64_t val, u8_t dst[8]) in sys_put_be64()
345 static inline void sys_put_le48(u64_t val, u8_t dst[6]) in sys_put_le48()
360 static inline void sys_put_le64(u64_t val, u8_t dst[8]) in sys_put_le64()
421 static inline u64_t sys_get_be48(const u8_t src[6]) in sys_get_be48()
423 return ((u64_t)sys_get_be32(&src[0]) << 32) | sys_get_be16(&src[4]); in sys_get_be48()
436 static inline u64_t sys_get_be64(const u8_t src[8]) in sys_get_be64()
496 static inline u64_t sys_get_le48(const u8_t src[6]) in sys_get_le48()
[all …]
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dfriend.h22 u64_t *seq_auth, struct net_buf_simple *sbuf);
25 u64_t *seq_auth, struct net_buf_simple *sbuf);
28 u16_t dst, u64_t *seq_auth);
A Dble_transport.h93 size_t data_len, u64_t *seq_auth,
/AliOS-Things-master/components/ble_host/bt_host/port/core/
A Dbuf.c954 void net_buf_simple_add_le48(struct net_buf_simple *buf, u64_t val) in net_buf_simple_add_le48()
1168 u64_t net_buf_simple_pull_le48(struct net_buf_simple *buf) in net_buf_simple_pull_le48()
1171 u64_t u48:48; in net_buf_simple_pull_le48()
1180 u64_t net_buf_simple_pull_be48(struct net_buf_simple *buf) in net_buf_simple_pull_be48()
1183 u64_t u48:48; in net_buf_simple_pull_be48()
1192 u64_t net_buf_simple_pull_le64(struct net_buf_simple *buf) in net_buf_simple_pull_le64()
1194 u64_t val; in net_buf_simple_pull_le64()
1196 val = UNALIGNED_GET((u64_t *)buf->data); in net_buf_simple_pull_le64()
1202 u64_t net_buf_simple_pull_be64(struct net_buf_simple *buf) in net_buf_simple_pull_be64()
1204 u64_t val; in net_buf_simple_pull_be64()
[all …]
/AliOS-Things-master/components/ble_host/include/net/
A Dbuf.h302 void net_buf_simple_add_le48(struct net_buf_simple *buf, u64_t val);
314 void net_buf_simple_add_be48(struct net_buf_simple *buf, u64_t val);
326 void net_buf_simple_add_le64(struct net_buf_simple *buf, u64_t val);
338 void net_buf_simple_add_be64(struct net_buf_simple *buf, u64_t val);
438 void net_buf_simple_push_le48(struct net_buf_simple *buf, u64_t val);
449 void net_buf_simple_push_be48(struct net_buf_simple *buf, u64_t val);
460 void net_buf_simple_push_le64(struct net_buf_simple *buf, u64_t val);
593 u64_t net_buf_simple_pull_le48(struct net_buf_simple *buf);
605 u64_t net_buf_simple_pull_be48(struct net_buf_simple *buf);
617 u64_t net_buf_simple_pull_le64(struct net_buf_simple *buf);
[all …]
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dtransport.c66 #define BLOCK_COMPLETE(seg_n) (bt_u32_t)(((u64_t)1 << (seg_n + 1)) - 1)
68 #define SEQ_AUTH(iv_index, seq) (((u64_t)iv_index) << 24 | (u64_t)seq)
93 u64_t seq_auth;
106 u64_t seq_auth;
761 static int trans_ack(struct bt_mesh_net_rx *rx, u8_t hdr, struct net_buf_simple *buf, u64_t *seq_au… in trans_ack()
860 static int ctl_recv(struct bt_mesh_net_rx *rx, u8_t hdr, struct net_buf_simple *buf, u64_t *seq_aut… in ctl_recv()
932 static int trans_unseg(struct net_buf_simple *buf, struct bt_mesh_net_rx *rx, u64_t *seq_auth) in trans_unseg()
987 int bt_mesh_ctl_send(struct bt_mesh_net_tx *tx, u8_t ctl_op, void *data, size_t data_len, u64_t *se… in bt_mesh_ctl_send()
1120 static struct seg_rx *seg_rx_find(struct bt_mesh_net_rx *net_rx, const u64_t *seq_auth) in seg_rx_find()
1206 u64_t *seq_auth) in trans_seg()
[all …]
A Dfriend.c70 u64_t seq_auth;
897 static struct bt_mesh_friend_seg *get_seg(struct bt_mesh_friend *frnd, u16_t src, u64_t *seq_auth) in get_seg()
1072 static void friend_purge_old_ack(struct bt_mesh_friend *frnd, u64_t *seq_auth, u16_t src) in friend_purge_old_ack()
1096 … enum bt_mesh_friend_pdu_type type, u64_t *seq_auth, struct net_buf_simple *sbuf) in friend_lpn_enqueue_rx()
1140 … enum bt_mesh_friend_pdu_type type, u64_t *seq_auth, struct net_buf_simple *sbuf) in friend_lpn_enqueue_tx()
1230 void bt_mesh_friend_enqueue_rx(struct bt_mesh_net_rx *rx, enum bt_mesh_friend_pdu_type type, u64_t in bt_mesh_friend_enqueue_rx()
1252 bool bt_mesh_friend_enqueue_tx(struct bt_mesh_net_tx *tx, enum bt_mesh_friend_pdu_type type, u64_t in bt_mesh_friend_enqueue_tx()
1276 void bt_mesh_friend_clear_incomplete(struct bt_mesh_subnet *sub, u16_t src, u16_t dst, u64_t *seq_a… in bt_mesh_friend_clear_incomplete()
A Dnet.c84 static u64_t msg_cache[CONFIG_BT_MESH_MSG_CACHE_SIZE];
144 static u64_t msg_hash(struct bt_mesh_net_rx *rx, struct net_buf_simple *pdu) in msg_hash()
154 return (u64_t)hash1 << 32 | (u64_t)hash2; in msg_hash()
159 u64_t hash = msg_hash(rx, pdu); in msg_cache_match()
A Dcrypto.c216 if (mic_size == sizeof(u64_t)) { in bt_mesh_ccm_decrypt()
380 if (mic_size == sizeof(u64_t)) { in bt_mesh_ccm_encrypt()
/AliOS-Things-master/components/ble_host/include/ble_types/
A Dtypes.h28 typedef unsigned long long u64_t; typedef
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dsmp.h127 bool bt_smp_request_ltk(struct bt_conn *conn, u64_t rand, u16_t ediv,
A Dhci_core.h134 u64_t states;
A Dhci_core.c6198 u64_t mask = 0U; in le_set_event_mask()
6720 u64_t mask = 0U; in set_event_mask()
A Dsmp.c2721 bool bt_smp_request_ltk(struct bt_conn *conn, u64_t rand, u16_t ediv, u8_t *ltk) in bt_smp_request_ltk()
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dhci_vs.h212 u64_t pc;
A Dhci.h793 u64_t rand;
1538 u64_t rand;

Completed in 58 milliseconds