Lines Matching refs:replay
197 if (((sav->flags&SADB_X_EXT_OLD) == 0) ^ (sav->replay != NULL)) { in ah_init0()
201 sav->replay == NULL ? "without" : "with")); in ah_init0()
569 if (sav->replay != NULL && sav->replay->wsize != 0 && in ah_input()
665 sav->replay != NULL && sav->replay->wsize != 0) { in ah_input()
781 if (sav->replay) { in ah_input_cb()
949 if (sav->replay) { in ah_output()
950 SECREPLAY_LOCK(sav->replay); in ah_output()
951 if ((sav->replay->count == ~0 || in ah_output()
953 ((uint32_t)sav->replay->count) == ~0)) && in ah_output()
955 SECREPLAY_UNLOCK(sav->replay); in ah_output()
968 sav->replay->count++; in ah_output()
969 ah->ah_seq = htonl((uint32_t)sav->replay->count); in ah_output()
970 SECREPLAY_UNLOCK(sav->replay); in ah_output()
1056 if (sav->flags & SADB_X_SAFLAGS_ESN && sav->replay != NULL) { in ah_output()
1057 SECREPLAY_LOCK(sav->replay); in ah_output()
1058 seqh = htonl((uint32_t)(sav->replay->count >> IPSEC_SEQH_SHIFT)); in ah_output()
1060 SECREPLAY_UNLOCK(sav->replay); in ah_output()