]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ipsec: add key_havesp_any
authorMateusz Guzik <mjg@FreeBSD.org>
Wed, 7 Sep 2022 20:05:38 +0000 (22:05 +0200)
committerMateusz Guzik <mjg@FreeBSD.org>
Tue, 22 Nov 2022 12:23:08 +0000 (12:23 +0000)
commitc1bfe8c593f9047ff00c1204e4f086256af45bc2
tree5280a53736414e9513f287dc02313b36c06e262e
parent86104d3ebb3525c2773b3d3881104725b3f0f3cf
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
sys/netipsec/ipsec.c
sys/netipsec/key.c
sys/netipsec/key.h
sys/netipsec/subr_ipsec.c