Lines Matching defs:nr
54 void x25_frames_acked(struct sock *sk, unsigned short nr)
63 if (x25->va != nr)
64 while (skb_peek(&x25->ack_queue) && x25->va != nr) {
90 * Validate that the value of nr is between va and vs. Return true or
93 int x25_validate_nr(struct sock *sk, unsigned short nr)
100 if (nr == vc)
105 return nr == x25->vs ? 1 : 0;
270 int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q,
276 *ns = *nr = *q = *d = *m = 0;
299 *nr = (frame[3] >> 1) & 0x7F;
306 *nr = (frame[2] >> 5) & 0x07;
316 *nr = (frame[3] >> 1) & 0x7F;
325 *nr = (frame[2] >> 5) & 0x07;