Lines Matching refs:protinfo
52 sk->protinfo.x25->fraglen += skb->len; in x25_queue_rx_frame()
53 skb_queue_tail(&sk->protinfo.x25->fragment_queue, skb); in x25_queue_rx_frame()
58 if (!more && sk->protinfo.x25->fraglen > 0) { /* End of fragment */ in x25_queue_rx_frame()
59 int len = sk->protinfo.x25->fraglen + skb->len; in x25_queue_rx_frame()
66 skb_queue_tail(&sk->protinfo.x25->fragment_queue, skb); in x25_queue_rx_frame()
70 skbo = skb_dequeue(&sk->protinfo.x25->fragment_queue); in x25_queue_rx_frame()
74 while ((skbo = skb_dequeue(&sk->protinfo.x25->fragment_queue)) != NULL) { in x25_queue_rx_frame()
75 skb_pull(skbo, (sk->protinfo.x25->neighbour->extended) ? X25_EXT_MIN_LEN : X25_STD_MIN_LEN); in x25_queue_rx_frame()
80 sk->protinfo.x25->fraglen = 0; in x25_queue_rx_frame()
104 sk->protinfo.x25->condition = 0x00; in x25_state1_machine()
105 sk->protinfo.x25->vs = 0; in x25_state1_machine()
106 sk->protinfo.x25->va = 0; in x25_state1_machine()
107 sk->protinfo.x25->vr = 0; in x25_state1_machine()
108 sk->protinfo.x25->vl = 0; in x25_state1_machine()
109 sk->protinfo.x25->state = X25_STATE_3; in x25_state1_machine()
116 …skb_pull(skb, x25_parse_facilities(skb, &sk->protinfo.x25->facilities, &sk->protinfo.x25->vc_facil… in x25_state1_machine()
121 memcpy(sk->protinfo.x25->calluserdata.cuddata, skb->data, skb->len); in x25_state1_machine()
122 sk->protinfo.x25->calluserdata.cudlength = skb->len; in x25_state1_machine()
175 modulus = (sk->protinfo.x25->neighbour->extended) ? X25_EMODULUS : X25_SMODULUS; in x25_state3_machine()
182 sk->protinfo.x25->condition = 0x00; in x25_state3_machine()
183 sk->protinfo.x25->vs = 0; in x25_state3_machine()
184 sk->protinfo.x25->vr = 0; in x25_state3_machine()
185 sk->protinfo.x25->va = 0; in x25_state3_machine()
186 sk->protinfo.x25->vl = 0; in x25_state3_machine()
201 sk->protinfo.x25->condition = 0x00; in x25_state3_machine()
202 sk->protinfo.x25->vs = 0; in x25_state3_machine()
203 sk->protinfo.x25->vr = 0; in x25_state3_machine()
204 sk->protinfo.x25->va = 0; in x25_state3_machine()
205 sk->protinfo.x25->vl = 0; in x25_state3_machine()
206 sk->protinfo.x25->state = X25_STATE_4; in x25_state3_machine()
210 sk->protinfo.x25->condition |= X25_COND_PEER_RX_BUSY; in x25_state3_machine()
212 sk->protinfo.x25->condition &= ~X25_COND_PEER_RX_BUSY; in x25_state3_machine()
218 sk->protinfo.x25->condition &= ~X25_COND_PEER_RX_BUSY; in x25_state3_machine()
219 if ((ns!=sk->protinfo.x25->vr) || in x25_state3_machine()
224 sk->protinfo.x25->condition = 0x00; in x25_state3_machine()
225 sk->protinfo.x25->vs = 0; in x25_state3_machine()
226 sk->protinfo.x25->vr = 0; in x25_state3_machine()
227 sk->protinfo.x25->va = 0; in x25_state3_machine()
228 sk->protinfo.x25->vl = 0; in x25_state3_machine()
229 sk->protinfo.x25->state = X25_STATE_4; in x25_state3_machine()
233 if (ns == sk->protinfo.x25->vr) { in x25_state3_machine()
235 sk->protinfo.x25->vr = (sk->protinfo.x25->vr + 1) % modulus; in x25_state3_machine()
242 sk->protinfo.x25->condition = 0x00; in x25_state3_machine()
243 sk->protinfo.x25->vs = 0; in x25_state3_machine()
244 sk->protinfo.x25->vr = 0; in x25_state3_machine()
245 sk->protinfo.x25->va = 0; in x25_state3_machine()
246 sk->protinfo.x25->vl = 0; in x25_state3_machine()
247 sk->protinfo.x25->state = X25_STATE_4; in x25_state3_machine()
251 sk->protinfo.x25->condition |= X25_COND_OWN_RX_BUSY; in x25_state3_machine()
257 …if (((sk->protinfo.x25->vl + sk->protinfo.x25->facilities.winsize_in) % modulus) == sk->protinfo.x… in x25_state3_machine()
258 sk->protinfo.x25->condition &= ~X25_COND_ACK_PENDING; in x25_state3_machine()
262 sk->protinfo.x25->condition |= X25_COND_ACK_PENDING; in x25_state3_machine()
268 sk->protinfo.x25->intflag = 0; in x25_state3_machine()
276 skb_queue_tail(&sk->protinfo.x25->interrupt_in_queue, skb); in x25_state3_machine()
310 sk->protinfo.x25->condition = 0x00; in x25_state4_machine()
311 sk->protinfo.x25->va = 0; in x25_state4_machine()
312 sk->protinfo.x25->vr = 0; in x25_state4_machine()
313 sk->protinfo.x25->vs = 0; in x25_state4_machine()
314 sk->protinfo.x25->vl = 0; in x25_state4_machine()
315 sk->protinfo.x25->state = X25_STATE_3; in x25_state4_machine()
336 if (sk->protinfo.x25->state == X25_STATE_0) in x25_process_rx_frame()
341 switch (sk->protinfo.x25->state) { in x25_process_rx_frame()