Home
last modified time | relevance | path

Searched refs:nrom (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/net/netrom/
Dnr_in.c152 struct nr_sock *nrom = nr_sk(sk); in nr_state3_machine() local
182 nrom->condition |= NR_COND_PEER_RX_BUSY; in nr_state3_machine()
185 nrom->condition &= ~NR_COND_PEER_RX_BUSY; in nr_state3_machine()
195 if (nrom->condition & NR_COND_PEER_RX_BUSY) { in nr_state3_machine()
212 nrom->condition |= NR_COND_PEER_RX_BUSY; in nr_state3_machine()
215 nrom->condition &= ~NR_COND_PEER_RX_BUSY; in nr_state3_machine()
223 if (nrom->condition & NR_COND_PEER_RX_BUSY) { in nr_state3_machine()
231 skb_queue_head(&nrom->reseq_queue, skb); in nr_state3_machine()
232 if (nrom->condition & NR_COND_OWN_RX_BUSY) in nr_state3_machine()
236 save_vr = nrom->vr; in nr_state3_machine()
[all …]
Dnr_subr.c52 struct nr_sock *nrom = nr_sk(sk); in nr_frames_acked() local
58 if (nrom->va != nr) { in nr_frames_acked()
59 while (skb_peek(&nrom->ack_queue) != NULL && nrom->va != nr) { in nr_frames_acked()
60 skb = skb_dequeue(&nrom->ack_queue); in nr_frames_acked()
62 nrom->va = (nrom->va + 1) % NR_MODULUS; in nr_frames_acked()
91 struct nr_sock *nrom = nr_sk(sk); in nr_validate_nr() local
92 unsigned short vc = nrom->va; in nr_validate_nr()
94 while (vc != nrom->vs) { in nr_validate_nr()
99 return nr == nrom->vs; in nr_validate_nr()
Dnr_out.c262 struct nr_sock *nrom = nr_sk(sk); in nr_check_iframes_acked() local
264 if (nrom->vs == nr) { in nr_check_iframes_acked()
267 nrom->n2count = 0; in nr_check_iframes_acked()
269 if (nrom->va != nr) { in nr_check_iframes_acked()