Lines Matching +full:send +full:- +full:flush +full:- +full:out +full:- +full:sequence
3 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
72 * In order to split out the keydb implementation from that of the
112 LIST_ENTRY(secashead) drainq; /* used ONLY by flush callout */
154 uint32_t seq; /* sequence number */
162 struct secnatt *natt; /* NAT-T config */
187 LIST_ENTRY(secasvar) drainq; /* used ONLY by flush callout */
205 #define SECASVAR_RLOCK(_sav) rm_rlock((_sav)->lock, &_secas_tracker)
206 #define SECASVAR_RUNLOCK(_sav) rm_runlock((_sav)->lock, &_secas_tracker)
207 #define SECASVAR_WLOCK(_sav) rm_wlock((_sav)->lock)
208 #define SECASVAR_WUNLOCK(_sav) rm_wunlock((_sav)->lock)
209 #define SECASVAR_LOCK_ASSERT(_sav) rm_assert((_sav)->lock, RA_LOCKED)
210 #define SECASVAR_LOCK_WASSERT(_sav) rm_assert((_sav)->lock, RA_WLOCKED)
212 ((_sav)->alg_enc == SADB_X_EALG_AESGCM8 || \
213 (_sav)->alg_enc == SADB_X_EALG_AESGCM12 || \
214 (_sav)->alg_enc == SADB_X_EALG_AESGCM16)
215 #define SAV_ISCTR(_sav) ((_sav)->alg_enc == SADB_X_EALG_AESCTR)
217 ((_sav)->alg_enc == SADB_X_EALG_CHACHA20POLY1305)
236 #define SECREPLAY_LOCK(_r) mtx_lock(&(_r)->lock)
237 #define SECREPLAY_UNLOCK(_r) mtx_unlock(&(_r)->lock)
238 #define SECREPLAY_ASSERT(_r) mtx_assert(&(_r)->lock, MA_OWNED)
240 /* socket table due to send PF_KEY messages. */
254 uint32_t seq; /* sequence number */