Searched refs:preplay_esn (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/net/xfrm/ |
D | xfrm_replay.c | 293 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 …]
|
D | xfrm_user.c | 430 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()
|
D | xfrm_state.c | 440 kfree(x->preplay_esn); in xfrm_state_gc_destroy()
|
/Linux-v4.19/include/net/ |
D | xfrm.h | 201 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()
|