Searched refs:seq_diff (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/net/batman-adv/ |
H A D | bat_v_ogm.c | 619 s32 seq_diff; in batadv_v_ogm_metric_update() local 625 seq_diff = ntohl(ogm2->seqno) - orig_ifinfo->last_real_seqno; in batadv_v_ogm_metric_update() 628 batadv_window_protected(bat_priv, seq_diff, in batadv_v_ogm_metric_update() 644 if (seq_diff < 0 && !protection_started) in batadv_v_ogm_metric_update() 665 if (seq_diff > 0 || protection_started) in batadv_v_ogm_metric_update()
|
H A D | routing.c | 1173 s32 seq_diff; in batadv_recv_bcast_packet() local 1217 seq_diff = seqno - orig_node->last_bcast_seqno; in batadv_recv_bcast_packet() 1220 if (batadv_window_protected(bat_priv, seq_diff, in batadv_recv_bcast_packet() 1228 if (batadv_bit_get_packet(bat_priv, orig_node->bcast_bits, seq_diff, 1)) in batadv_recv_bcast_packet()
|
H A D | bat_iv_ogm.c | 1216 s32 seq_diff; in batadv_iv_ogm_update_seqnos() local 1236 seq_diff = seqno - orig_ifinfo->last_real_seqno; in batadv_iv_ogm_update_seqnos() 1240 batadv_window_protected(bat_priv, seq_diff, in batadv_iv_ogm_update_seqnos() 1273 seq_diff, set_mark); in batadv_iv_ogm_update_seqnos()
|
/openbmc/linux/net/xfrm/ |
H A 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()
|