Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/batman-adv/
Dbat_v_ogm.c620 s32 seq_diff; in batadv_v_ogm_metric_update() local
626 seq_diff = ntohl(ogm2->seqno) - orig_ifinfo->last_real_seqno; in batadv_v_ogm_metric_update()
629 batadv_window_protected(bat_priv, seq_diff, in batadv_v_ogm_metric_update()
645 if (seq_diff < 0 && !protection_started) in batadv_v_ogm_metric_update()
666 if (seq_diff > 0 || protection_started) in batadv_v_ogm_metric_update()
Drouting.c1196 s32 seq_diff; in batadv_recv_bcast_packet() local
1239 seq_diff = seqno - orig_node->last_bcast_seqno; in batadv_recv_bcast_packet()
1242 if (batadv_window_protected(bat_priv, seq_diff, in batadv_recv_bcast_packet()
1250 if (batadv_bit_get_packet(bat_priv, orig_node->bcast_bits, seq_diff, 1)) in batadv_recv_bcast_packet()
Dbat_iv_ogm.c1225 s32 seq_diff; in batadv_iv_ogm_update_seqnos() local
1245 seq_diff = seqno - orig_ifinfo->last_real_seqno; in batadv_iv_ogm_update_seqnos()
1249 batadv_window_protected(bat_priv, seq_diff, in batadv_iv_ogm_update_seqnos()
1282 seq_diff, set_mark); in batadv_iv_ogm_update_seqnos()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_replay.c332 u32 seq_diff, oseq_diff; in xfrm_replay_notify_esn() local
351 seq_diff = replay_esn->seq - preplay_esn->seq; in xfrm_replay_notify_esn()
353 seq_diff = ~preplay_esn->seq + replay_esn->seq in xfrm_replay_notify_esn()
363 if (seq_diff >= x->replay_maxdiff || in xfrm_replay_notify_esn()