HomeFreeBSD

ipsec: add key_havesp_any

Description

ipsec: add key_havesp_any

Saves on work in a common case of checking both directions.

Note further work in the area is impending to elide these in the common
case to begin with.

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D36485

Details

Provenance
mjgAuthored on Sep 7 2022, 8:05 PM
Differential Revision
D36485: ipsec key_havesp changes
Parents
rG86104d3ebb35: ipsec: prohibit unknown directions in key_havesp
Branches
Unknown
Tags
Unknown