Home
last modified time | relevance | path

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

/Linux-v4.19/net/xfrm/
Dxfrm_replay.c293 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_bmp() local
308 ((replay_esn->seq - preplay_esn->seq < x->replay_maxdiff) && in xfrm_replay_notify_bmp()
309 (replay_esn->oseq - preplay_esn->oseq in xfrm_replay_notify_bmp()
320 if (memcmp(x->replay_esn, x->preplay_esn, in xfrm_replay_notify_bmp()
329 memcpy(x->preplay_esn, x->replay_esn, in xfrm_replay_notify_bmp()
345 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_esn() local
360 if (replay_esn->seq_hi == preplay_esn->seq_hi) in xfrm_replay_notify_esn()
361 seq_diff = replay_esn->seq - preplay_esn->seq; in xfrm_replay_notify_esn()
363 seq_diff = ~preplay_esn->seq + replay_esn->seq in xfrm_replay_notify_esn()
366 if (replay_esn->oseq_hi == preplay_esn->oseq_hi) in xfrm_replay_notify_esn()
[all …]
Dxfrm_user.c430 struct xfrm_replay_state_esn **preplay_esn, in xfrm_alloc_replay_state_esn() argument
457 *preplay_esn = pp; in xfrm_alloc_replay_state_esn()
509 memcpy(x->preplay_esn, replay_esn, in xfrm_update_ae_params()
617 if ((err = xfrm_alloc_replay_state_esn(&x->replay_esn, &x->preplay_esn, in xfrm_state_construct()
Dxfrm_state.c440 kfree(x->preplay_esn); in xfrm_state_gc_destroy()
/Linux-v4.19/include/net/
Dxfrm.h201 struct xfrm_replay_state_esn *preplay_esn; member
1860 x->preplay_esn = kmemdup(x->replay_esn, in xfrm_replay_clone()
1863 if (!x->preplay_esn) { in xfrm_replay_clone()