Home
last modified time | relevance | path

Searched refs:preplay_esn (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/xfrm/
H A Dxfrm_replay.c283 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_bmp() local
298 ((replay_esn->seq - preplay_esn->seq < x->replay_maxdiff) && in xfrm_replay_notify_bmp()
299 (replay_esn->oseq - preplay_esn->oseq in xfrm_replay_notify_bmp()
310 if (memcmp(x->replay_esn, x->preplay_esn, in xfrm_replay_notify_bmp()
319 memcpy(x->preplay_esn, x->replay_esn, in xfrm_replay_notify_bmp()
335 struct xfrm_replay_state_esn *preplay_esn = x->preplay_esn; in xfrm_replay_notify_esn() local
350 if (replay_esn->seq_hi == preplay_esn->seq_hi) in xfrm_replay_notify_esn()
351 seq_diff = replay_esn->seq - preplay_esn in xfrm_replay_notify_esn()
[all...]
H A Dxfrm_user.c455 struct xfrm_replay_state_esn **preplay_esn, in xfrm_alloc_replay_state_esn()
482 *preplay_esn = pp; in xfrm_alloc_replay_state_esn()
530 if (re && x->replay_esn && x->preplay_esn) { in xfrm_update_ae_params()
535 memcpy(x->preplay_esn, replay_esn, in xfrm_update_ae_params()
646 if ((err = xfrm_alloc_replay_state_esn(&x->replay_esn, &x->preplay_esn, in xfrm_state_construct()
454 xfrm_alloc_replay_state_esn(struct xfrm_replay_state_esn **replay_esn, struct xfrm_replay_state_esn **preplay_esn, struct nlattr *rta) xfrm_alloc_replay_state_esn() argument
H A Dxfrm_state.c490 kfree(x->preplay_esn); in ___xfrm_state_destroy()
/kernel/linux/linux-6.6/net/xfrm/
H A Dxfrm_replay.c309 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 in xfrm_replay_notify_esn()
[all...]
H A Dxfrm_user.c556 struct xfrm_replay_state_esn **preplay_esn, in xfrm_alloc_replay_state_esn()
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()
555 xfrm_alloc_replay_state_esn(struct xfrm_replay_state_esn **replay_esn, struct xfrm_replay_state_esn **preplay_esn, struct nlattr *rta) xfrm_alloc_replay_state_esn() argument
H A Dxfrm_state.c533 kfree(x->preplay_esn); in ___xfrm_state_destroy()
/kernel/linux/linux-5.10/include/net/
H A Dxfrm.h220 struct xfrm_replay_state_esn *preplay_esn; member
1815 x->preplay_esn = kmemdup(orig->preplay_esn, in xfrm_replay_clone()
1816 xfrm_replay_state_esn_len(orig->preplay_esn), in xfrm_replay_clone()
1818 if (!x->preplay_esn) in xfrm_replay_clone()
/kernel/linux/linux-6.6/include/net/
H A Dxfrm.h245 struct xfrm_replay_state_esn *preplay_esn; member
1890 x->preplay_esn = kmemdup(orig->preplay_esn, in xfrm_replay_clone()
1891 xfrm_replay_state_esn_len(orig->preplay_esn), in xfrm_replay_clone()
1893 if (!x->preplay_esn) in xfrm_replay_clone()

Completed in 25 milliseconds