Searched refs:seq_diff (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/net/batman-adv/ |
D | bat_v_ogm.c | 618 s32 seq_diff; in batadv_v_ogm_metric_update() local 624 seq_diff = ntohl(ogm2->seqno) - orig_ifinfo->last_real_seqno; in batadv_v_ogm_metric_update() 627 batadv_window_protected(bat_priv, seq_diff, in batadv_v_ogm_metric_update() 643 if (seq_diff < 0 && !protection_started) in batadv_v_ogm_metric_update() 664 if (seq_diff > 0 || protection_started) in batadv_v_ogm_metric_update()
|
D | routing.c | 1174 s32 seq_diff; in batadv_recv_bcast_packet() local 1218 seq_diff = seqno - orig_node->last_bcast_seqno; in batadv_recv_bcast_packet() 1221 if (batadv_window_protected(bat_priv, seq_diff, in batadv_recv_bcast_packet() 1229 if (batadv_bit_get_packet(bat_priv, orig_node->bcast_bits, seq_diff, 1)) in batadv_recv_bcast_packet()
|
D | bat_iv_ogm.c | 1217 s32 seq_diff; in batadv_iv_ogm_update_seqnos() local 1237 seq_diff = seqno - orig_ifinfo->last_real_seqno; in batadv_iv_ogm_update_seqnos() 1241 batadv_window_protected(bat_priv, seq_diff, in batadv_iv_ogm_update_seqnos() 1274 seq_diff, set_mark); in batadv_iv_ogm_update_seqnos()
|
/Linux-v6.1/net/xfrm/ |
D | xfrm_replay.c | 358 u32 seq_diff, oseq_diff; in xfrm_replay_notify_esn() local 377 seq_diff = replay_esn->seq - preplay_esn->seq; in xfrm_replay_notify_esn() 379 seq_diff = ~preplay_esn->seq + replay_esn->seq in xfrm_replay_notify_esn() 389 if (seq_diff >= x->replay_maxdiff || in xfrm_replay_notify_esn()
|