Home | History | Annotate | Download | only in pan

Lines Matching full:pan_cb

189         if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE &&
190 pan_cb.pcb[i].handle == handle)
196 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE &&
197 memcmp (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN) == 0)
203 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE)
205 memset (&(pan_cb.pcb[i]), 0, sizeof (tPAN_CONN));
206 memcpy (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN);
207 pan_cb.pcb[i].handle = handle;
208 return &(pan_cb.pcb[i]);
230 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE &&
231 pan_cb.pcb[i].handle == handle)
232 return &(pan_cb.pcb[i]);
254 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE)
257 if (memcmp (pan_cb.pcb[i].rem_bda, p_bda, BD_ADDR_LEN) == 0)
258 return &(pan_cb.pcb[i]);
261 if (pan_cb.pcb[i].mfilter_present &&
262 (memcmp (p_bda, pan_cb.pcb[i].multi_cast_bridge, BD_ADDR_LEN) == 0))
263 return &(pan_cb.pcb[i]);
288 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE)
290 BNEP_Disconnect (pan_cb.pcb[i].handle);
291 pan_cb.pcb[i].con_state = PAN_STATE_IDLE;
295 pan_cb.active_role = PAN_ROLE_INACTIVE;
296 pan_cb.num_conns = 0;
336 pan_cb.role, pan_cb.active_role, pan_cb.num_conns);
338 for (i = 0, p_pcb = pan_cb.pcb; i < MAX_PAN_CONNS; i++, p_pcb++)