Home
last modified time | relevance | path

Searched refs:seq_num_diff (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/net/batman-adv/
Dbitarray.c36 s32 seq_num_diff, int set_mark) in batadv_bit_get_packet() argument
43 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()
Dbitarray.h54 s32 seq_num_diff, int set_mark);
Drouting.h38 bool batadv_window_protected(struct batadv_priv *bat_priv, s32 seq_num_diff,
Drouting.c149 bool batadv_window_protected(struct batadv_priv *bat_priv, s32 seq_num_diff, in batadv_window_protected() argument
153 if (seq_num_diff <= -seq_old_max_diff || in batadv_window_protected()
154 seq_num_diff >= BATADV_EXPECTED_SEQNO_RANGE) { in batadv_window_protected()