Searched refs:replay_esn (Results 1 – 3 of 3) sorted by relevance
27 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_seqhi() local33 seq_hi = replay_esn->seq_hi; in xfrm_replay_seqhi()34 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi()36 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi()175 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_overflow_bmp() local179 XFRM_SKB_CB(skb)->seq.output.low = ++replay_esn->oseq; in xfrm_replay_overflow_bmp()180 if (unlikely(replay_esn->oseq == 0)) { in xfrm_replay_overflow_bmp()181 replay_esn->oseq--; in xfrm_replay_overflow_bmp()198 struct xfrm_replay_state_esn *replay_esn = x->replay_esn; in xfrm_replay_check_bmp() local201 u32 diff = replay_esn->seq - seq; in xfrm_replay_check_bmp()[all …]
377 static inline int xfrm_replay_verify_len(struct xfrm_replay_state_esn *replay_esn, in xfrm_replay_verify_len() argument383 if (!replay_esn || !rp) in xfrm_replay_verify_len()392 xfrm_replay_state_esn_len(replay_esn) != ulen || in xfrm_replay_verify_len()393 replay_esn->bmp_len != up->bmp_len) in xfrm_replay_verify_len()402 static int xfrm_alloc_replay_state_esn(struct xfrm_replay_state_esn **replay_esn, in xfrm_alloc_replay_state_esn() argument429 *replay_esn = p; in xfrm_alloc_replay_state_esn()478 struct xfrm_replay_state_esn *replay_esn; in xfrm_update_ae_params() local479 replay_esn = nla_data(re); in xfrm_update_ae_params()480 memcpy(x->replay_esn, replay_esn, in xfrm_update_ae_params()481 xfrm_replay_state_esn_len(replay_esn)); in xfrm_update_ae_params()[all …]
340 kfree(x->replay_esn); in xfrm_state_gc_destroy()1192 if (orig->replay_esn) { in xfrm_state_clone()