Searched refs:replay_esn (Results 1 – 1 of 1) sorted by relevance
208 struct xfrm_replay_state_esn *replay_esn; member1763 static inline unsigned int xfrm_replay_state_esn_len(struct xfrm_replay_state_esn *replay_esn) in xfrm_replay_state_esn_len() argument1765 return sizeof(*replay_esn) + replay_esn->bmp_len * sizeof(__u32); in xfrm_replay_state_esn_len()1772 x->replay_esn = kzalloc(xfrm_replay_state_esn_len(orig->replay_esn), in xfrm_replay_clone()1774 if (!x->replay_esn) in xfrm_replay_clone()1777 x->replay_esn->bmp_len = orig->replay_esn->bmp_len; in xfrm_replay_clone()1778 x->replay_esn->replay_window = orig->replay_esn->replay_window; in xfrm_replay_clone()1780 x->preplay_esn = kmemdup(x->replay_esn, in xfrm_replay_clone()1781 xfrm_replay_state_esn_len(x->replay_esn), in xfrm_replay_clone()1784 kfree(x->replay_esn); in xfrm_replay_clone()