Add SADB_SAFLAGS_ESN flag

This flag is going to be used by IKE daemon to signal if
Extended Sequence Number feature is going to be used.

Value for this flag was taken from OpenBSD source code
6b4cbaf181

Submitted by:           Patryk Duda <pdk@semihalf.com>
Reviewed by:            ae
Differential revision:  https://reviews.freebsd.org/D22366
Obtained from:          Semihalf
Sponsored by:           Stormshield
This commit is contained in:
Marcin Wojtas 2020-10-16 11:22:29 +00:00
parent efac54cb2f
commit 1148702e43
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366755

View File

@ -348,6 +348,8 @@ _Static_assert(sizeof(struct sadb_x_sa_replay) == 8, "struct size mismatch");
#define SADB_SASTATE_MAX 3
#define SADB_SAFLAGS_PFS 1
/* SADB_X_SAFLAGS_ESN was defined in sys/net/pfkeyv2.h in OpenBSD sources */
#define SADB_X_SAFLAGS_ESN 0x400
/*
* Though some of these numbers (both _AALG and _EALG) appear to be