/* Checks if sequence number of received PDU is in range of receive window. Returns 0 for success, 1 otherwise  */
static u16 llc_util_ns_inside_rx_window(u8 ns, u8 vr, u8 rw)
/* Checks if sequence number of received PDU is in range of receive window. Returns 0 for success, 1 otherwise  */
static u16 llc_util_ns_inside_rx_window(u8 ns, u8 vr, u8 rw)
{
	return !llc_circular_between(vr, ns,
				     (vr + rw - 1) % LLC_2_SEQ_NBR_MODULO);
}