Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_replay.c283 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()
[all …]
Dxfrm_user.c455 struct xfrm_replay_state_esn **preplay_esn, in xfrm_alloc_replay_state_esn() argument
482 *preplay_esn = pp; in xfrm_alloc_replay_state_esn()
535 memcpy(x->preplay_esn, replay_esn, in xfrm_update_ae_params()
651 if ((err = xfrm_alloc_replay_state_esn(&x->replay_esn, &x->preplay_esn, in xfrm_state_construct()
Dxfrm_state.c490 kfree(x->preplay_esn); in ___xfrm_state_destroy()
/kernel/linux/linux-5.10/include/net/
Dxfrm.h220 struct xfrm_replay_state_esn *preplay_esn; member
1788 x->preplay_esn = kmemdup(orig->preplay_esn, in xfrm_replay_clone()
1789 xfrm_replay_state_esn_len(orig->preplay_esn), in xfrm_replay_clone()
1791 if (!x->preplay_esn) in xfrm_replay_clone()