Searched refs:replay_esn (Results 1 – 1 of 1) sorted by relevance
189 struct xfrm_replay_state_esn *replay_esn; member1703 static inline int xfrm_replay_state_esn_len(struct xfrm_replay_state_esn *replay_esn) in xfrm_replay_state_esn_len() argument1705 return sizeof(*replay_esn) + replay_esn->bmp_len * sizeof(__u32); in xfrm_replay_state_esn_len()1712 x->replay_esn = kzalloc(xfrm_replay_state_esn_len(orig->replay_esn), in xfrm_replay_clone()1714 if (!x->replay_esn) in xfrm_replay_clone()1717 x->replay_esn->bmp_len = orig->replay_esn->bmp_len; in xfrm_replay_clone()1718 x->replay_esn->replay_window = orig->replay_esn->replay_window; in xfrm_replay_clone()1720 x->preplay_esn = kmemdup(x->replay_esn, in xfrm_replay_clone()1721 xfrm_replay_state_esn_len(x->replay_esn), in xfrm_replay_clone()1724 kfree(x->replay_esn); in xfrm_replay_clone()