Lines Matching refs:conns
113 btpan_cleanup_conn(&btpan_cb.conns[i]); in btif_pan_init()
144 btpan_cleanup_conn(&btpan_cb.conns[i]); in btif_pan_cleanup()
427 if (btpan_cb.conns[i].handle == handle) return &btpan_cb.conns[i]; in btpan_find_conn_handle()
434 if (btpan_cb.conns[i].peer == addr) return &btpan_cb.conns[i]; in btpan_find_conn_addr()
501 BTIF_TRACE_DEBUG("conns[%d]:%d", i, btpan_cb.conns[i].handle); in btpan_new_conn()
502 if (btpan_cb.conns[i].handle == -1) { in btpan_new_conn()
506 btpan_cb.conns[i].handle = handle; in btpan_new_conn()
507 btpan_cb.conns[i].peer = addr; in btpan_new_conn()
508 btpan_cb.conns[i].local_role = local_role; in btpan_new_conn()
509 btpan_cb.conns[i].remote_role = remote_role; in btpan_new_conn()
510 return &btpan_cb.conns[i]; in btpan_new_conn()
539 uint16_t handle = btpan_cb.conns[i].handle; in forward_bnep()
541 (broadcast || btpan_cb.conns[i].eth_addr == eth_hdr->h_dest || in forward_bnep()
542 btpan_cb.conns[i].peer == eth_hdr->h_dest)) { in forward_bnep()
738 if (btpan_cb.conns[i].handle != -1) BTA_PanClose(btpan_cb.conns[i].handle); in btif_pan_close_all_conns()