Lines Matching defs:nr
51 void x25_frames_acked(struct sock *sk, unsigned short nr)
60 if (x25->va != nr)
61 while (skb_peek(&x25->ack_queue) && x25->va != nr) {
87 * Validate that the value of nr is between va and vs. Return true or
90 int x25_validate_nr(struct sock *sk, unsigned short nr)
97 if (nr == vc)
102 return nr == x25->vs ? 1 : 0;
260 int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q,
270 *ns = *nr = *q = *d = *m = 0;
297 *nr = (frame[3] >> 1) & 0x7F;
304 *nr = (frame[2] >> 5) & 0x07;
318 *nr = (frame[3] >> 1) & 0x7F;
327 *nr = (frame[2] >> 5) & 0x07;