Lines Matching refs:conns
138 btpan_cleanup_conn(&btpan_cb.conns[i]); in btif_pan_init()
161 btpan_cleanup_conn(&btpan_cb.conns[i]); in btif_pan_cleanup()
446 if (btpan_cb.conns[i].handle == handle) return &btpan_cb.conns[i]; in btpan_find_conn_handle()
453 if (btpan_cb.conns[i].peer == addr) return &btpan_cb.conns[i]; in btpan_find_conn_addr()
520 BTIF_TRACE_DEBUG("conns[%d]:%d", i, btpan_cb.conns[i].handle); in btpan_new_conn()
521 if (btpan_cb.conns[i].handle == -1) { in btpan_new_conn()
525 btpan_cb.conns[i].handle = handle; in btpan_new_conn()
526 btpan_cb.conns[i].peer = addr; in btpan_new_conn()
527 btpan_cb.conns[i].local_role = local_role; in btpan_new_conn()
528 btpan_cb.conns[i].remote_role = remote_role; in btpan_new_conn()
529 return &btpan_cb.conns[i]; in btpan_new_conn()
558 uint16_t handle = btpan_cb.conns[i].handle; in forward_bnep()
560 (broadcast || btpan_cb.conns[i].eth_addr == eth_hdr->h_dest || in forward_bnep()
561 btpan_cb.conns[i].peer == eth_hdr->h_dest)) { in forward_bnep()
757 if (btpan_cb.conns[i].handle != -1) BTA_PanClose(btpan_cb.conns[i].handle); in btif_pan_close_all_conns()