Searched refs:preplay_esn (Results 1 – 4 of 4) sorted by relevance
| /linux/net/xfrm/ |
| H A D | xfrm_replay.c | 309 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_bmp() local 324 ((replay_esn->seq - preplay_esn->seq < x->replay_maxdiff) && in xfrm_replay_notify_bmp() 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() 379 seq_diff = ~preplay_esn->seq + replay_esn->seq in xfrm_replay_notify_esn() 382 if (replay_esn->oseq_hi == preplay_esn->oseq_hi) in xfrm_replay_notify_esn() [all …]
|
| H A D | xfrm_user.c | 786 struct xfrm_replay_state_esn **preplay_esn, in xfrm_alloc_replay_state_esn() argument 813 *preplay_esn = pp; in xfrm_alloc_replay_state_esn() 861 if (re && x->replay_esn && x->preplay_esn) { in xfrm_update_ae_params() 866 memcpy(x->preplay_esn, replay_esn, in xfrm_update_ae_params() 998 if ((err = xfrm_alloc_replay_state_esn(&x->replay_esn, &x->preplay_esn, in xfrm_state_construct()
|
| H A D | xfrm_state.c | 609 kfree(x->preplay_esn); in xfrm_state_gc_destroy()
|
| /linux/include/net/ |
| H A D | xfrm.h | 272 struct xfrm_replay_state_esn *preplay_esn; member 2055 x->preplay_esn = kmemdup(orig->preplay_esn, in xfrm_replay_clone() 2056 xfrm_replay_state_esn_len(orig->preplay_esn), in xfrm_replay_clone() 2058 if (!x->preplay_esn) in xfrm_replay_clone() 2074 memcpy(x->preplay_esn, orig->preplay_esn, in xfrm_replay_sync() 2075 xfrm_replay_state_esn_len(orig->preplay_esn)); in xfrm_replay_sync()
|