• Home
  • Raw
  • Download

Lines Matching refs:nr

35 	struct nr_sock *nr = nr_sk(sk);  in nr_queue_rx_frame()  local
42 nr->fraglen += skb->len; in nr_queue_rx_frame()
43 skb_queue_tail(&nr->frag_queue, skb); in nr_queue_rx_frame()
47 if (!more && nr->fraglen > 0) { /* End of fragment */ in nr_queue_rx_frame()
48 nr->fraglen += skb->len; in nr_queue_rx_frame()
49 skb_queue_tail(&nr->frag_queue, skb); in nr_queue_rx_frame()
51 if ((skbn = alloc_skb(nr->fraglen, GFP_ATOMIC)) == NULL) in nr_queue_rx_frame()
56 while ((skbo = skb_dequeue(&nr->frag_queue)) != NULL) { in nr_queue_rx_frame()
63 nr->fraglen = 0; in nr_queue_rx_frame()
79 struct nr_sock *nr = nr_sk(sk); in nr_state1_machine() local
83 nr->your_index = skb->data[17]; in nr_state1_machine()
84 nr->your_id = skb->data[18]; in nr_state1_machine()
85 nr->vs = 0; in nr_state1_machine()
86 nr->va = 0; in nr_state1_machine()
87 nr->vr = 0; in nr_state1_machine()
88 nr->vl = 0; in nr_state1_machine()
89 nr->state = NR_STATE_3; in nr_state1_machine()
90 nr->n2count = 0; in nr_state1_machine()
91 nr->window = skb->data[20]; in nr_state1_machine()
155 unsigned short nr, ns; in nr_state3_machine() local
158 nr = skb->data[18]; in nr_state3_machine()
187 if (!nr_validate_nr(sk, nr)) { in nr_state3_machine()
191 nr_frames_acked(sk, nr); in nr_state3_machine()
195 nr_frames_acked(sk, nr); in nr_state3_machine()
197 nr_check_iframes_acked(sk, nr); in nr_state3_machine()
217 if (nr_validate_nr(sk, nr)) { in nr_state3_machine()
219 nr_frames_acked(sk, nr); in nr_state3_machine()
223 nr_frames_acked(sk, nr); in nr_state3_machine()
225 nr_check_iframes_acked(sk, nr); in nr_state3_machine()
282 struct nr_sock *nr = nr_sk(sk); in nr_process_rx_frame() local
285 if (nr->state == NR_STATE_0) in nr_process_rx_frame()
290 switch (nr->state) { in nr_process_rx_frame()