• Home
  • Raw
  • Download

Lines Matching refs:pan_cb

41 tPAN_CB pan_cb;  variable
117 __func__, handle, pan_cb.role, local_uuid16, remote_uuid16, in pan_conn_ind_cb()
138 if (((!(pan_cb.role & UUID_SERVCLASS_PANU)) && in pan_conn_ind_cb()
140 ((!(pan_cb.role & UUID_SERVCLASS_GN)) && in pan_conn_ind_cb()
142 ((!(pan_cb.role & UUID_SERVCLASS_NAP)) && in pan_conn_ind_cb()
195 if (pan_cb.num_conns > 1 && local_uuid16 == UUID_SERVCLASS_PANU) { in pan_conn_ind_cb()
217 if (pan_cb.pan_bridge_req_cb) in pan_conn_ind_cb()
218 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in pan_conn_ind_cb()
222 pan_cb.active_role = req_role; in pan_conn_ind_cb()
232 if (pan_cb.num_conns && (local_uuid16 == UUID_SERVCLASS_PANU || in pan_conn_ind_cb()
233 pan_cb.active_role == PAN_ROLE_CLIENT)) { in pan_conn_ind_cb()
251 pan_cb.active_role = req_role; in pan_conn_ind_cb()
255 pan_cb.num_conns++; in pan_conn_ind_cb()
297 if (pan_cb.pan_conn_state_cb) in pan_connect_state_cb()
298 (*pan_cb.pan_conn_state_cb)(pcb->handle, pcb->rem_bda, result, in pan_connect_state_cb()
312 pan_cb.active_role = pan_cb.prv_active_role; in pan_connect_state_cb()
314 if ((pcb->src_uuid == UUID_SERVCLASS_NAP) && pan_cb.pan_bridge_req_cb) in pan_connect_state_cb()
315 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, true); in pan_connect_state_cb()
322 if ((pcb->src_uuid == UUID_SERVCLASS_NAP) && pan_cb.pan_bridge_req_cb) in pan_connect_state_cb()
323 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, false); in pan_connect_state_cb()
326 pan_cb.num_conns--; in pan_connect_state_cb()
333 pan_cb.active_role = PAN_ROLE_CLIENT; in pan_connect_state_cb()
335 pan_cb.active_role = PAN_ROLE_NAP_SERVER; in pan_connect_state_cb()
345 if (pan_cb.pan_conn_state_cb) in pan_connect_state_cb()
346 (*pan_cb.pan_conn_state_cb)(pcb->handle, pcb->rem_bda, PAN_SUCCESS, in pan_connect_state_cb()
347 is_role_change, pan_cb.active_role, peer_role); in pan_connect_state_cb()
350 if (pan_cb.pan_bridge_req_cb && pcb->src_uuid == UUID_SERVCLASS_NAP) { in pan_connect_state_cb()
352 (*pan_cb.pan_bridge_req_cb)(pcb->rem_bda, true); in pan_connect_state_cb()
419 if (pan_cb.pcb[i].con_state == PAN_STATE_CONNECTED && in pan_data_buf_ind_cb()
420 pan_cb.pcb[i].handle != handle && in pan_data_buf_ind_cb()
421 pcb->src_uuid == pan_cb.pcb[i].src_uuid) { in pan_data_buf_ind_cb()
422 BNEP_Write(pan_cb.pcb[i].handle, dst, p_data, len, protocol, &src, in pan_data_buf_ind_cb()
427 if (pan_cb.pan_data_buf_ind_cb) in pan_data_buf_ind_cb()
428 (*pan_cb.pan_data_buf_ind_cb)(pcb->handle, src, dst, protocol, p_buf, in pan_data_buf_ind_cb()
430 else if (pan_cb.pan_data_ind_cb) in pan_data_buf_ind_cb()
431 (*pan_cb.pan_data_ind_cb)(pcb->handle, src, dst, protocol, p_data, len, in pan_data_buf_ind_cb()
456 if (pan_cb.pan_data_buf_ind_cb) in pan_data_buf_ind_cb()
457 (*pan_cb.pan_data_buf_ind_cb)(pcb->handle, src, dst, protocol, p_buf, ext, in pan_data_buf_ind_cb()
459 else if (pan_cb.pan_data_ind_cb) in pan_data_buf_ind_cb()
460 (*pan_cb.pan_data_ind_cb)(pcb->handle, src, dst, protocol, p_data, len, ext, in pan_data_buf_ind_cb()
480 if (pan_cb.pan_tx_data_flow_cb) (*pan_cb.pan_tx_data_flow_cb)(handle, event); in pan_tx_data_flow_cb()
514 if (pan_cb.pan_pfilt_ind_cb) in pan_proto_filt_ind_cb()
515 (*pan_cb.pan_pfilt_ind_cb)(handle, indication, result, num_filters, in pan_proto_filt_ind_cb()
548 if (pan_cb.pan_mfilt_ind_cb) in pan_mcast_filt_ind_cb()
549 (*pan_cb.pan_mfilt_ind_cb)(handle, indication, result, num_filters, in pan_mcast_filt_ind_cb()