Lines Matching refs:protinfo

97 	skb->data[2] = sk->protinfo.nr->vs;  in nr_send_iframe()
98 skb->data[3] = sk->protinfo.nr->vr; in nr_send_iframe()
100 if (sk->protinfo.nr->condition & NR_COND_OWN_RX_BUSY) in nr_send_iframe()
112 if ((skb = skb_peek(&sk->protinfo.nr->ack_queue)) == NULL) in nr_send_nak_frame()
118 skbn->data[2] = sk->protinfo.nr->va; in nr_send_nak_frame()
119 skbn->data[3] = sk->protinfo.nr->vr; in nr_send_nak_frame()
121 if (sk->protinfo.nr->condition & NR_COND_OWN_RX_BUSY) in nr_send_nak_frame()
126 sk->protinfo.nr->condition &= ~NR_COND_ACK_PENDING; in nr_send_nak_frame()
127 sk->protinfo.nr->vl = sk->protinfo.nr->vr; in nr_send_nak_frame()
137 if (sk->protinfo.nr->state != NR_STATE_3) in nr_kick()
140 if (sk->protinfo.nr->condition & NR_COND_PEER_RX_BUSY) in nr_kick()
146 …start = (skb_peek(&sk->protinfo.nr->ack_queue) == NULL) ? sk->protinfo.nr->va : sk->protinfo.nr->v… in nr_kick()
147 end = (sk->protinfo.nr->va + sk->protinfo.nr->window) % NR_MODULUS; in nr_kick()
152 sk->protinfo.nr->vs = start; in nr_kick()
177 sk->protinfo.nr->vs = (sk->protinfo.nr->vs + 1) % NR_MODULUS; in nr_kick()
182 skb_queue_tail(&sk->protinfo.nr->ack_queue, skb); in nr_kick()
184 } while (sk->protinfo.nr->vs != end && (skb = skb_dequeue(&sk->write_queue)) != NULL); in nr_kick()
186 sk->protinfo.nr->vl = sk->protinfo.nr->vr; in nr_kick()
187 sk->protinfo.nr->condition &= ~NR_COND_ACK_PENDING; in nr_kick()
202 memcpy(dptr, &sk->protinfo.nr->source_addr, AX25_ADDR_LEN); in nr_transmit_buffer()
208 memcpy(dptr, &sk->protinfo.nr->dest_addr, AX25_ADDR_LEN); in nr_transmit_buffer()
229 sk->protinfo.nr->condition = 0x00; in nr_establish_data_link()
230 sk->protinfo.nr->n2count = 0; in nr_establish_data_link()
247 if (sk->protinfo.nr->condition & NR_COND_OWN_RX_BUSY) { in nr_enquiry_response()
250 if (skb_peek(&sk->protinfo.nr->reseq_queue) != NULL) in nr_enquiry_response()
256 sk->protinfo.nr->vl = sk->protinfo.nr->vr; in nr_enquiry_response()
257 sk->protinfo.nr->condition &= ~NR_COND_ACK_PENDING; in nr_enquiry_response()
262 if (sk->protinfo.nr->vs == nr) { in nr_check_iframes_acked()
265 sk->protinfo.nr->n2count = 0; in nr_check_iframes_acked()
267 if (sk->protinfo.nr->va != nr) { in nr_check_iframes_acked()