Lines Matching refs:preplay_esn
283 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_bmp() local
298 ((replay_esn->seq - preplay_esn->seq < x->replay_maxdiff) && in xfrm_replay_notify_bmp()
299 (replay_esn->oseq - preplay_esn->oseq in xfrm_replay_notify_bmp()
310 if (memcmp(x->replay_esn, x->preplay_esn, in xfrm_replay_notify_bmp()
319 memcpy(x->preplay_esn, x->replay_esn, in xfrm_replay_notify_bmp()
335 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_esn() local
350 if (replay_esn->seq_hi == preplay_esn->seq_hi) in xfrm_replay_notify_esn()
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()
356 if (replay_esn->oseq_hi == preplay_esn->oseq_hi) in xfrm_replay_notify_esn()
358 - preplay_esn->oseq; in xfrm_replay_notify_esn()
360 oseq_diff = ~preplay_esn->oseq in xfrm_replay_notify_esn()
376 if (memcmp(x->replay_esn, x->preplay_esn, in xfrm_replay_notify_esn()
385 memcpy(x->preplay_esn, x->replay_esn, in xfrm_replay_notify_esn()