Lines Matching defs:pp

53   tNFA_HCI_DYN_PIPE* pp = nfa_hci_cb.cfg.dyn_pipes;
57 for (; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) {
58 if (pp->pipe_id == pipe_id) return (pp);
160 tNFA_HCI_DYN_PIPE* pp = nfa_hci_cb.cfg.dyn_pipes;
165 for (; xx < NFA_HCI_MAX_PIPE_CB; xx++, pp++) {
168 (pp->pipe_state == NFA_HCI_PIPE_OPENED))
205 tNFA_HCI_DYN_PIPE* pp;
208 pp = nfa_hciu_find_pipe_by_pid(pipe_id);
209 if (pp == NULL) return (NFA_HANDLE_INVALID);
211 pg = nfa_hciu_find_gate_by_gid(pp->local_gate);
419 tNFA_HCI_DYN_PIPE* pp;
422 pp = nfa_hciu_find_pipe_by_pid(pipe_id);
423 if (pp != NULL) {
424 if (pipe_id > NFA_HCI_LAST_DYNAMIC_PIPE) return pp;
429 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB;
430 xx++, pp++) {
431 if (pp->pipe_id == 0) {
434 pp->pipe_id = pipe_id;
437 return (pp);
574 tNFA_HCI_DYN_PIPE* pp;
581 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB;
582 xx++, pp++) {
583 if ((pp->pipe_id != 0) && (pp->pipe_id >= NFA_HCI_FIRST_DYNAMIC_PIPE) &&
584 (pp->pipe_id <= NFA_HCI_LAST_DYNAMIC_PIPE) &&
585 (nfa_hciu_is_active_host(pp->dest_host))) {
586 if (((pg = nfa_hciu_find_gate_by_gid(pp->local_gate)) != NULL) &&
588 return (pp);
609 tNFA_HCI_DYN_PIPE* pp;
618 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB;
619 xx++, pp++) {
620 if ((pp->pipe_id != 0) && (pp->pipe_id >= NFA_HCI_FIRST_DYNAMIC_PIPE) &&
621 (pp->pipe_id <= NFA_HCI_LAST_DYNAMIC_PIPE) &&
622 (pp->local_gate == local_gate) && (pp->dest_host == dest_host) &&
623 (pp->dest_gate == dest_gate)) {
643 tNFA_HCI_DYN_PIPE* pp;
650 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB;
651 xx++, pp++) {
652 if (pp->pipe_id != 0) {
653 if (((pg = nfa_hciu_find_gate_by_gid(pp->local_gate)) != NULL) &&
655 return (pp);
674 tNFA_HCI_DYN_PIPE* pp;
680 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB;
681 xx++, pp++) {
682 if (pp->pipe_id != 0) {
683 if (((pg = nfa_hciu_find_gate_by_gid(pp->local_gate)) != NULL) &&
685 return (pp);
764 tNFA_HCI_DYN_PIPE* pp;
770 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB;
771 xx++, pp++) {
772 if ((pp->pipe_id != 0) && (pp->pipe_id >= NFA_HCI_FIRST_DYNAMIC_PIPE) &&
773 (pp->pipe_id <= NFA_HCI_LAST_DYNAMIC_PIPE) &&
774 (nfa_hciu_is_active_host(pp->dest_host))) {
775 if (((pg = nfa_hciu_find_gate_by_gid(pp->local_gate)) != NULL) &&
777 return (pp);
846 tNFA_HCI_DYN_PIPE* pp;
854 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB;
855 xx++, pp++) {
856 if ((pp->pipe_id == 0) ||
857 ((host != 0) && ((pp->dest_host != host) ||
858 (pp->pipe_id > NFA_HCI_LAST_DYNAMIC_PIPE))))
861 pg = nfa_hciu_find_gate_by_gid(pp->local_gate);
864 evt_data.deleted.pipe = pp->pipe_id;
868 nfa_hciu_release_pipe(pp->pipe_id);