Lines Matching full:psm

438 "dst bdaddr=%x:%x:%x:%x:%x:%x, psm=%d, lcid=%d, result=%d, status=%d, " \  in ng_btsocket_l2cap_process_l2ca_con_req_rsp()
444 pcb->psm, op->lcid, op->result, op->status, in ng_btsocket_l2cap_process_l2ca_con_req_rsp()
545 "dst bdaddr=%x:%x:%x:%x:%x:%x, psm=%d, lcid=%d, result=%d, state=%d\n", in ng_btsocket_l2cap_process_l2ca_con_rsp_rsp()
551 pcb->psm, pcb->cid, op->result, pcb->state); in ng_btsocket_l2cap_process_l2ca_con_rsp_rsp()
583 * and PSM. Find exact or closest match. Create new socket and initiate
604 "dst bdaddr=%x:%x:%x:%x:%x:%x, psm=%d, lcid=%d, ident=%d\n", in ng_btsocket_l2cap_process_l2ca_con_ind()
610 ip->psm, ip->lcid, ip->ident); in ng_btsocket_l2cap_process_l2ca_con_ind()
614 pcb = ng_btsocket_l2cap_pcb_by_addr(&rt->src, ip->psm); in ng_btsocket_l2cap_process_l2ca_con_ind()
649 pcb1->psm = ip->psm; in ng_btsocket_l2cap_process_l2ca_con_ind()
660 /* Nobody listens on requested BDADDR/PSM */ in ng_btsocket_l2cap_process_l2ca_con_ind()
773 "dst bdaddr=%x:%x:%x:%x:%x:%x, psm=%d, lcid=%d, result=%d, state=%d, " \ in ng_btsocket_l2cap_process_l2ca_cfg_req_rsp()
780 pcb->psm, pcb->cid, op->result, pcb->state, pcb->cfg_state); in ng_btsocket_l2cap_process_l2ca_cfg_req_rsp()
880 "dst bdaddr=%x:%x:%x:%x:%x:%x, psm=%d, lcid=%d, result=%d, state=%d, " \ in ng_btsocket_l2cap_process_l2ca_cfg_rsp_rsp()
887 pcb->psm, pcb->cid, op->result, pcb->state, pcb->cfg_state); in ng_btsocket_l2cap_process_l2ca_cfg_rsp_rsp()
976 "dst bdaddr=%x:%x:%x:%x:%x:%x, psm=%d, lcid=%d, state=%d, cfg_state=%x\n", in ng_btsocket_l2cap_process_l2ca_cfg_ind()
982 pcb->psm, pcb->cid, pcb->state, pcb->cfg_state); in ng_btsocket_l2cap_process_l2ca_cfg_ind()
1067 "dst bdaddr=%x:%x:%x:%x:%x:%x, psm=%d, lcid=%d, result=%d, state=%d\n", in ng_btsocket_l2cap_process_l2ca_discon_rsp()
1073 pcb->psm, pcb->cid, op->result, pcb->state); in ng_btsocket_l2cap_process_l2ca_discon_rsp()
1124 "dst bdaddr=%x:%x:%x:%x:%x:%x, psm=%d, lcid=%d, state=%d\n", in ng_btsocket_l2cap_process_l2ca_discon_ind()
1130 pcb->psm, pcb->cid, pcb->state); in ng_btsocket_l2cap_process_l2ca_discon_ind()
1174 "dst bdaddr=%x:%x:%x:%x:%x:%x, psm=%d, lcid=%d, result=%d, length=%d, " \ in ng_btsocket_l2cap_process_l2ca_write_rsp()
1180 pcb->psm, pcb->cid, op->result, op->length, in ng_btsocket_l2cap_process_l2ca_write_rsp()
1243 ip->psm = pcb->psm; in ng_btsocket_l2cap_send_l2ca_con_req()
1458 * to the given PSM and have SO_BROADCAST bit set and append mbuf in ng_btsocket_l2cap_data_input()
1583 "src bdaddr=%x:%x:%x:%x:%x:%x, psm=%d, length=%d\n", in ng_btsocket_l2cap_data_input()
1587 clt_hdr->psm, hdr->length); in ng_btsocket_l2cap_data_input()
1597 pcb->psm != clt_hdr->psm || in ng_btsocket_l2cap_data_input()
2091 int psm, error = 0; in ng_btsocket_l2cap_bind() local
2106 psm = le16toh(sa->l2cap_psm); in ng_btsocket_l2cap_bind()
2110 * match PSM and bdaddr) and assign socket address if it's available. in ng_btsocket_l2cap_bind()
2112 * Note: socket can be bound to ANY PSM (zero) thus allowing several in ng_btsocket_l2cap_bind()
2113 * channels with the same PSM between the same pair of BD_ADDR'es. in ng_btsocket_l2cap_bind()
2119 if (psm != 0 && psm == pcb->psm && in ng_btsocket_l2cap_bind()
2128 pcb->psm = psm; in ng_btsocket_l2cap_bind()
2193 if (pcb->psm != 0 && pcb->psm != le16toh(sa->l2cap_psm)) in ng_btsocket_l2cap_connect()
2206 /* Send destination address and PSM */ in ng_btsocket_l2cap_connect()
2208 pcb->psm = le16toh(sa->l2cap_psm); in ng_btsocket_l2cap_connect()
2501 if (pcb->psm == 0) { in ng_btsocket_l2cap_listen()
2530 .l2cap_psm = htole16(pcb->psm), in ng_btsocket_l2cap_peeraddr()
2694 .l2cap_psm = htole16(pcb->psm), in ng_btsocket_l2cap_sockaddr()
2709 * Look for the socket that listens on given PSM and bdaddr. Returns exact or
2714 ng_btsocket_l2cap_pcb_by_addr(bdaddr_p bdaddr, int psm) in ng_btsocket_l2cap_pcb_by_addr() argument
2721 if (p->so == NULL || !SOLISTENING(p->so) || p->psm != psm) in ng_btsocket_l2cap_pcb_by_addr()