Searched refs:preplay_esn (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/net/xfrm/ |
| D | xfrm_replay.c | 281 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_bmp() local 296 ((replay_esn->seq - preplay_esn->seq < x->replay_maxdiff) && in xfrm_replay_notify_bmp() 297 (replay_esn->oseq - preplay_esn->oseq in xfrm_replay_notify_bmp() 308 if (memcmp(x->replay_esn, x->preplay_esn, in xfrm_replay_notify_bmp() 317 memcpy(x->preplay_esn, x->replay_esn, in xfrm_replay_notify_bmp() 333 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_esn() local 348 if (replay_esn->seq_hi == preplay_esn->seq_hi) in xfrm_replay_notify_esn() 349 seq_diff = replay_esn->seq - preplay_esn->seq; in xfrm_replay_notify_esn() 351 seq_diff = ~preplay_esn->seq + replay_esn->seq in xfrm_replay_notify_esn() 354 if (replay_esn->oseq_hi == preplay_esn->oseq_hi) in xfrm_replay_notify_esn() [all …]
|
| D | xfrm_user.c | 450 struct xfrm_replay_state_esn **preplay_esn, in xfrm_alloc_replay_state_esn() argument 477 *preplay_esn = pp; in xfrm_alloc_replay_state_esn() 529 memcpy(x->preplay_esn, replay_esn, in xfrm_update_ae_params() 637 if ((err = xfrm_alloc_replay_state_esn(&x->replay_esn, &x->preplay_esn, in xfrm_state_construct()
|
| D | xfrm_state.c | 491 kfree(x->preplay_esn); in ___xfrm_state_destroy()
|
| /Linux-v5.4/include/net/ |
| D | xfrm.h | 212 struct xfrm_replay_state_esn *preplay_esn; member 1780 x->preplay_esn = kmemdup(x->replay_esn, in xfrm_replay_clone() 1783 if (!x->preplay_esn) { in xfrm_replay_clone()
|