Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/netrom/
Dnr_in.c148 struct nr_sock *nrom = nr_sk(sk); in nr_state3_machine() local
178 nrom->condition |= NR_COND_PEER_RX_BUSY; in nr_state3_machine()
181 nrom->condition &= ~NR_COND_PEER_RX_BUSY; in nr_state3_machine()
191 if (nrom->condition & NR_COND_PEER_RX_BUSY) { in nr_state3_machine()
208 nrom->condition |= NR_COND_PEER_RX_BUSY; in nr_state3_machine()
211 nrom->condition &= ~NR_COND_PEER_RX_BUSY; in nr_state3_machine()
219 if (nrom->condition & NR_COND_PEER_RX_BUSY) { in nr_state3_machine()
227 skb_queue_head(&nrom->reseq_queue, skb); in nr_state3_machine()
228 if (nrom->condition & NR_COND_OWN_RX_BUSY) in nr_state3_machine()
232 save_vr = nrom->vr; in nr_state3_machine()
[all …]
Dnr_subr.c48 struct nr_sock *nrom = nr_sk(sk); in nr_frames_acked() local
54 if (nrom->va != nr) { in nr_frames_acked()
55 while (skb_peek(&nrom->ack_queue) != NULL && nrom->va != nr) { in nr_frames_acked()
56 skb = skb_dequeue(&nrom->ack_queue); in nr_frames_acked()
58 nrom->va = (nrom->va + 1) % NR_MODULUS; in nr_frames_acked()
87 struct nr_sock *nrom = nr_sk(sk); in nr_validate_nr() local
88 unsigned short vc = nrom->va; in nr_validate_nr()
90 while (vc != nrom->vs) { in nr_validate_nr()
95 return nr == nrom->vs; in nr_validate_nr()
Dnr_out.c258 struct nr_sock *nrom = nr_sk(sk); in nr_check_iframes_acked() local
260 if (nrom->vs == nr) { in nr_check_iframes_acked()
263 nrom->n2count = 0; in nr_check_iframes_acked()
265 if (nrom->va != nr) { in nr_check_iframes_acked()