Searched refs:preplay_esn (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/net/xfrm/ |
D | xfrm_replay.c | 292 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_bmp() local 307 ((replay_esn->seq - preplay_esn->seq < x->replay_maxdiff) && in xfrm_replay_notify_bmp() 308 (replay_esn->oseq - preplay_esn->oseq in xfrm_replay_notify_bmp() 319 if (memcmp(x->replay_esn, x->preplay_esn, in xfrm_replay_notify_bmp() 328 memcpy(x->preplay_esn, x->replay_esn, in xfrm_replay_notify_bmp() 344 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_esn() local 359 if (replay_esn->seq_hi == preplay_esn->seq_hi) in xfrm_replay_notify_esn() 360 seq_diff = replay_esn->seq - preplay_esn->seq; in xfrm_replay_notify_esn() 362 seq_diff = ~preplay_esn->seq + replay_esn->seq in xfrm_replay_notify_esn() 365 if (replay_esn->oseq_hi == preplay_esn->oseq_hi) in xfrm_replay_notify_esn() [all …]
|
D | xfrm_user.c | 396 struct xfrm_replay_state_esn **preplay_esn, in xfrm_alloc_replay_state_esn() argument 423 *preplay_esn = pp; in xfrm_alloc_replay_state_esn() 475 memcpy(x->preplay_esn, replay_esn, in xfrm_update_ae_params() 565 if ((err = xfrm_alloc_replay_state_esn(&x->replay_esn, &x->preplay_esn, in xfrm_state_construct()
|
D | xfrm_state.c | 341 kfree(x->preplay_esn); in xfrm_state_gc_destroy()
|
/linux-4.1.27/include/net/ |
D | xfrm.h | 190 struct xfrm_replay_state_esn *preplay_esn; member 1721 x->preplay_esn = kmemdup(x->replay_esn, in xfrm_replay_clone() 1724 if (!x->preplay_esn) { in xfrm_replay_clone()
|