Lines Matching refs:src_role
381 static uint16_t bnep_setup_chk(uint16_t dst_role, uint16_t src_role)
387 if (src_role == BNEP_SVC_PANU)
391 if (src_role == BNEP_SVC_PANU ||
392 src_role == BNEP_SVC_GN ||
393 src_role == BNEP_SVC_NAP)
403 uint16_t *dst_role, uint16_t *src_role)
413 *src_role = ntohs(bt_get_unaligned((uint16_t *) source));
418 *src_role = ntohl(bt_get_unaligned((uint32_t *) source));
447 uint16_t src_role, dst_role, rsp = BNEP_CONN_NOT_ALLOWED;
485 rsp = bnep_setup_decode(req, &dst_role, &src_role);
489 rsp = bnep_setup_chk(dst_role, src_role);