Lines Matching refs:nr
46 void ax25_frames_acked(ax25_cb *ax25, unsigned short nr) in ax25_frames_acked() argument
53 if (ax25->va != nr) { in ax25_frames_acked()
54 while (skb_peek(&ax25->ack_queue) != NULL && ax25->va != nr) { in ax25_frames_acked()
79 int ax25_validate_nr(ax25_cb *ax25, unsigned short nr) in ax25_validate_nr() argument
84 if (nr == vc) return 1; in ax25_validate_nr()
88 if (nr == ax25->vs) return 1; in ax25_validate_nr()
97 int ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf) in ax25_decode() argument
103 *ns = *nr = *pf = 0; in ax25_decode()
109 *nr = (frame[0] >> 5) & 0x07; in ax25_decode()
113 *nr = (frame[0] >> 5) & 0x07; in ax25_decode()
124 *nr = (frame[1] >> 1) & 0x7F; in ax25_decode()
129 *nr = (frame[1] >> 1) & 0x7F; in ax25_decode()