Home | History | Annotate | Download | only in src

Lines Matching full:conns

142             btpan_cleanup_conn(&btpan_cb.conns[i]);
170 btpan_cleanup_conn(&btpan_cb.conns[i]);
481 if (btpan_cb.conns[i].handle == handle)
482 return &btpan_cb.conns[i];
491 if (memcmp(btpan_cb.conns[i].peer, addr, sizeof(BD_ADDR)) == 0)
492 return &btpan_cb.conns[i];
569 BTIF_TRACE_DEBUG("conns[%d]:%d", i, btpan_cb.conns[i].handle);
570 if (btpan_cb.conns[i].handle == -1)
574 btpan_cb.conns[i].handle = handle;
575 bdcpy(btpan_cb.conns[i].peer, addr);
576 btpan_cb.conns[i].local_role = local_role;
577 btpan_cb.conns[i].remote_role = remote_role;
578 return &btpan_cb.conns[i];
609 UINT16 handle = btpan_cb.conns[i].handle;
611 (broadcast || memcmp(btpan_cb.conns[i].eth_addr, eth_hdr->h_dest, sizeof(BD_ADDR)) == 0
612 || memcmp(btpan_cb.conns[i].peer, eth_hdr->h_dest, sizeof(BD_ADDR)) == 0)) {
809 if (btpan_cb.conns[i].handle != -1)
810 BTA_PanClose(btpan_cb.conns[i].handle);