Lines Matching defs:inbound
648 esp_age_bytes(ipsa_t *assoc, uint64_t bytes, boolean_t inbound)
668 * expire message on one of the peers, we'll pick the inbound
679 if (inbound) {
697 "can't find peer for inbound.\n"));
727 if (inbound) {
746 /* Initialize to our inbound cksum adjustment... */
764 /* Adujst if the inbound one was not zero. */
1030 esp2dbg(espstack, ("data_mp after inbound ESP adjustment:\n"));
1044 esp_set_usetime(ipsa_t *assoc, boolean_t inbound)
1074 if (inbound) {
1092 "can't find peer for inbound.\n"));
1123 if (inbound) {
1131 * Handle ESP inbound data for IPv4 and IPv6.
1365 isaf_t *outbound, *inbound;
1403 inbound = INBOUND_BUCKET(&espstack->esp_sadb.s_v6,
1409 inbound = INBOUND_BUCKET(&espstack->esp_sadb.s_v4,
1414 mutex_enter(&inbound->isaf_lock);
1421 * for inbound SAs, you never know what a user might do.
1426 target = ipsec_getassocbyspi(inbound, newbie->ipsa_spi,
1433 * (Nor will I because I'm still holding inbound/outbound locks.)
1445 rc = sadb_insertassoc(newbie, inbound);
1452 * Can exit outbound mutex. Hold inbound until we're done
1458 mutex_exit(&inbound->isaf_lock);
1478 mutex_exit(&inbound->isaf_lock);
1561 * "ports" are ordered src,dst, and assoc is an inbound SA, where src should
1613 * Hold the mutexes for both SAs so we don't race another inbound
1630 * Finish processing of an inbound ESP packet after processing by the
1782 * Called upon failing the inbound ICV check. The message passed as
1940 * crypto requests for inbound packets.
2005 * Invoked on crypto framework failure during inbound and outbound processing.
2014 is_inbound ? "inbound" : "outbound", kef_rc));
2101 * An inbound packet is of the form:
3328 * if the inbound or outbound table should be the primary
3333 primary = sq.inbound;
3340 secondary = sq.inbound;
3357 * in that it can be used for inbound traffic and outbound
3363 primary = sq.inbound;
3379 secondary = sq.inbound;
3437 mutex_enter(&sq.inbound->isaf_lock);
3438 larval = ipsec_getassocbyspi(sq.inbound, sq.assoc->sadb_sa_spi,
3440 mutex_exit(&sq.inbound->isaf_lock);
3890 * First-cut reality check for an inbound PF_KEY message.
4166 * during inbound SA selection.