Home
last modified time | relevance | path

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

/openbmc/linux/net/xfrm/
H A Dxfrm_replay.c309 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_bmp() local
325 (replay_esn->oseq - preplay_esn->oseq in xfrm_replay_notify_bmp()
336 if (memcmp(x->replay_esn, x->preplay_esn, in xfrm_replay_notify_bmp()
345 memcpy(x->preplay_esn, x->replay_esn, in xfrm_replay_notify_bmp()
361 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_esn() local
376 if (replay_esn->seq_hi == preplay_esn->seq_hi) in xfrm_replay_notify_esn()
377 seq_diff = replay_esn->seq - preplay_esn->seq; in xfrm_replay_notify_esn()
384 - preplay_esn->oseq; in xfrm_replay_notify_esn()
386 oseq_diff = ~preplay_esn->oseq in xfrm_replay_notify_esn()
402 if (memcmp(x->replay_esn, x->preplay_esn, in xfrm_replay_notify_esn()
[all …]
H A Dxfrm_user.c556 struct xfrm_replay_state_esn **preplay_esn, in xfrm_alloc_replay_state_esn() argument
583 *preplay_esn = pp; in xfrm_alloc_replay_state_esn()
631 if (re && x->replay_esn && x->preplay_esn) { in xfrm_update_ae_params()
636 memcpy(x->preplay_esn, replay_esn, in xfrm_update_ae_params()
748 if ((err = xfrm_alloc_replay_state_esn(&x->replay_esn, &x->preplay_esn, in xfrm_state_construct()
H A Dxfrm_state.c533 kfree(x->preplay_esn); in ___xfrm_state_destroy()
/openbmc/linux/include/net/
H A Dxfrm.h245 struct xfrm_replay_state_esn *preplay_esn; member
1893 x->preplay_esn = kmemdup(orig->preplay_esn, in xfrm_replay_clone()
1894 xfrm_replay_state_esn_len(orig->preplay_esn), in xfrm_replay_clone()
1896 if (!x->preplay_esn) in xfrm_replay_clone()