Searched refs:seq_num_diff (Results 1 – 4 of 4) sorted by relevance
36 s32 seq_num_diff, int set_mark) in batadv_bit_get_packet() argument43 if (seq_num_diff <= 0 && seq_num_diff > -BATADV_TQ_LOCAL_WINDOW_SIZE) { in batadv_bit_get_packet()45 batadv_set_bit(seq_bits, -seq_num_diff); in batadv_bit_get_packet()52 if (seq_num_diff > 0 && seq_num_diff < BATADV_TQ_LOCAL_WINDOW_SIZE) { in batadv_bit_get_packet()53 batadv_bitmap_shift_left(seq_bits, seq_num_diff); in batadv_bit_get_packet()61 if (seq_num_diff >= BATADV_TQ_LOCAL_WINDOW_SIZE && in batadv_bit_get_packet()62 seq_num_diff < BATADV_EXPECTED_SEQNO_RANGE) { in batadv_bit_get_packet()65 seq_num_diff - 1); in batadv_bit_get_packet()
54 s32 seq_num_diff, int set_mark);
38 bool batadv_window_protected(struct batadv_priv *bat_priv, s32 seq_num_diff,
149 bool batadv_window_protected(struct batadv_priv *bat_priv, s32 seq_num_diff, in batadv_window_protected() argument153 if (seq_num_diff <= -seq_old_max_diff || in batadv_window_protected()154 seq_num_diff >= BATADV_EXPECTED_SEQNO_RANGE) { in batadv_window_protected()