Lines Matching refs:atp
54 #include <netat/atp.h>
72 struct atp_state *atp;
75 if ((atp = trp->tr_queue) == 0)
77 if (atp->atp_flags & ATP_CLOSING)
80 for (ctrp = atp->atp_trans_wait.head; ctrp; ctrp = ctrp->tr_list.next) {
146 register struct atp_state *atp;
161 atp = trp->tr_queue;
162 ATP_Q_REMOVE(atp->atp_trans_wait, trp, tr_list);
200 struct atp_state *atp;
205 if ((atp = trp->tr_queue) != 0) {
239 register struct atp_state *atp;
242 if ((atp = rcbp->rc_queue) != 0) {
252 atp_send_replies(atp, rcbp);
281 void atp_iocack(atp, m)
282 struct atp_state *atp;
292 if (atp->dflag)
293 asp_ack_reply(atp->atp_gref, m);
295 atalk_putnext(atp->atp_gref, m);
298 void atp_iocnak(atp, m, err)
299 struct atp_state *atp;
313 if (atp->dflag)
314 asp_nak_reply(atp->atp_gref, m);
316 atalk_putnext(atp->atp_gref, m);
323 int atp_tid(atp)
324 register struct atp_state *atp;
332 for (trp = atp->atp_trans_wait.head; trp; trp = trp->tr_list.next) {