Home
last modified time | relevance | path

Searched refs:linkp (Results 1 – 4 of 4) sorted by relevance

/original-bsd/sys/netccitt/
H A Dllc_subr.c295 sn = (linkp->llcl_freeslot + linkp->llcl_window - in llc_seq2slot()
375 llc_send(linkp, LLCFT_UA, LLC_RSP, LLC_GETFLAG(linkp, F)); in llc_state_CONN()
382 llc_send(linkp, LLCFT_DM, LLC_RSP, LLC_GETFLAG(linkp, F)); in llc_state_CONN()
1972 action = (*linkp->llcl_statehandler)(linkp, frame, in llc_statehandler()
1980 action = (*linkp->llcl_statehandler)(linkp, frame, in llc_statehandler()
2035 if (linkp->llcl_slotsfree != linkp->llcl_window) { in llc_resetwindow()
2036 i = llc_seq2slot(linkp, linkp->llcl_nr_received); in llc_resetwindow()
2064 linkp->llcl_projvs = linkp->llcl_freeslot; in llc_resetwindow()
2311 LLC_GETFLAG(linkp, P), LLC_GETFLAG(linkp, S), in llc_link_dump()
2316 linkp->llcl_vs, linkp->llcl_vr, linkp->llcl_nr_received, in llc_link_dump()
[all …]
H A Dllc_output.c45 LLC_ENQUEUE(linkp, m); in llc_output()
46 llc_start(linkp); in llc_output()
63 while ((LLC_STATEEQ(linkp, NORMAL) || LLC_STATEEQ(linkp, BUSY) || in llc_start()
67 LLC_DEQUEUE(linkp, m); in llc_start()
88 m = linkp->llcl_output_buffers[llc_seq2slot(linkp, in llc_send()
93 llc_rawsend(linkp, m, frame, frame_kind, linkp->llcl_vs, cmdrsp, pollfinal); in llc_send()
110 if (linkp->llcl_slotsfree < linkp->llcl_window) in llc_resend()
112 if (linkp->llcl_nr_received != linkp->llcl_vs) in llc_resend()
115 for (slot = llc_seq2slot(linkp, linkp->llcl_vs); in llc_resend()
118 slot = llc_seq2slot(linkp, linkp->llcl_vs)) { in llc_resend()
[all …]
H A Dllc_timer.c56 register struct llc_linkcb *linkp; in llc_timer() local
70 linkp = LQFIRST; in llc_timer()
71 while (LQVALID(linkp)) { in llc_timer()
72 nlinkp = LQNEXT(linkp); in llc_timer()
79 LLC_AGETIMER(linkp, DACTION); in llc_timer()
100 LLC_STOPTIMER(linkp, DACTION); in llc_timer()
115 llc_dellink(linkp); in llc_timer()
116 LLC_STOPTIMER(linkp, AGE); in llc_timer()
119 LLC_STARTTIMER(linkp, AGE); in llc_timer()
147 linkp->llcl_timers[timer]--; in llc_timer()
[all …]
H A Dllc_input.c50 struct llc_linkcb *linkp; in llcintr() local
197 if (linkp || sapinfo) { in llcintr()
198 if (linkp) in llcintr()
238 } else if (linkp == 0) { in llcintr()
314 llc_start(linkp); in llc_input()
334 struct llc_linkcb *linkp; in llc_ctlinput() local
384 linkp = LQFIRST; in llc_ctlinput()
394 linkp = nlinkp; in llc_ctlinput()
400 if (linkp == 0) { in llc_ctlinput()
414 if (linkp == 0) in llc_ctlinput()
[all …]