Searched refs:replay_esn (Results 1 – 6 of 6) sorted by relevance
15 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_seqhi() local22 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi()24 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi()192 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_overflow_bmp() local217 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_check_bmp() local236 pos = (replay_esn->seq - 1) % replay_esn->replay_window; in xfrm_replay_check_bmp()261 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_advance_bmp() local268 pos = (replay_esn->seq - 1) % replay_esn->replay_window; in xfrm_replay_advance_bmp()308 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_notify_bmp() local360 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_notify_esn() local[all …]
524 if (!replay_esn || !rp) in xfrm_replay_verify_len()542 if (replay_esn->bmp_len != up->bmp_len) { in xfrm_replay_verify_len()582 *replay_esn = p; in xfrm_alloc_replay_state_esn()633 replay_esn = nla_data(re); in xfrm_update_ae_params()634 memcpy(x->replay_esn, replay_esn, in xfrm_update_ae_params()636 memcpy(x->preplay_esn, replay_esn, in xfrm_update_ae_params()1123 if (x->replay_esn) in copy_to_user_state_extra()1126 x->replay_esn); in copy_to_user_state_extra()2371 if (x->replay_esn) { in build_aevent()2374 x->replay_esn); in build_aevent()[all …]
532 kfree(x->replay_esn); in ___xfrm_state_destroy()1726 if (orig->replay_esn) { in xfrm_state_clone()
55 struct xfrm_replay_state_esn *replay_esn; in mlx5e_ipsec_update_esn_state() local64 replay_esn = sa_entry->x->replay_esn; in mlx5e_ipsec_update_esn_state()65 if (replay_esn->seq >= replay_esn->replay_window) in mlx5e_ipsec_update_esn_state()66 seq_bottom = replay_esn->seq - replay_esn->replay_window + 1; in mlx5e_ipsec_update_esn_state()148 attrs->replay_window = x->replay_esn->replay_window; in mlx5e_ipsec_build_accel_xfrm_attrs()261 if (x->replay_esn && x->replay_esn->replay_window != 32 && in mlx5e_xfrm_validate_state()262 x->replay_esn->replay_window != 64 && in mlx5e_xfrm_validate_state()263 x->replay_esn->replay_window != 128 && in mlx5e_xfrm_validate_state()264 x->replay_esn->replay_window != 256) { in mlx5e_xfrm_validate_state()
153 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in mlx5e_ipsec_set_iv_esn() local154 __u32 oseq = replay_esn->oseq; in mlx5e_ipsec_set_iv_esn()
236 struct xfrm_replay_state_esn *replay_esn; member1869 static inline unsigned int xfrm_replay_state_esn_len(struct xfrm_replay_state_esn *replay_esn) in xfrm_replay_state_esn_len() argument1871 return sizeof(*replay_esn) + replay_esn->bmp_len * sizeof(__u32); in xfrm_replay_state_esn_len()1879 x->replay_esn = kmemdup(orig->replay_esn, in xfrm_replay_clone()1880 xfrm_replay_state_esn_len(orig->replay_esn), in xfrm_replay_clone()1882 if (!x->replay_esn) in xfrm_replay_clone()
Completed in 28 milliseconds