diff options
author | Marcin Wojtas <mw@FreeBSD.org> | 2020-10-16 11:22:29 +0000 |
---|---|---|
committer | Marcin Wojtas <mw@FreeBSD.org> | 2020-10-16 11:22:29 +0000 |
commit | 1148702e43acd894bb45d77581cd8f733f8c6e44 (patch) | |
tree | 76d70d6257e5372e01c9173dc4486ad38d72ae67 /sys/net | |
parent | efac54cb2fb640f6bbbea2d38d5cad0d484d2338 (diff) | |
download | src-1148702e43acd894bb45d77581cd8f733f8c6e44.tar.gz src-1148702e43acd894bb45d77581cd8f733f8c6e44.zip |
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
https://github.com/openbsd/src/commit/6b4cbaf181c6b60701d9fb888fd0e7a4333eecbd
Submitted by: Patryk Duda <pdk@semihalf.com>
Reviewed by: ae
Differential revision: https://reviews.freebsd.org/D22366
Obtained from: Semihalf
Sponsored by: Stormshield
Notes
Notes:
svn path=/head/; revision=366755
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pfkeyv2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h index a4c95a70588a..4d607a4d8b13 100644 --- a/sys/net/pfkeyv2.h +++ b/sys/net/pfkeyv2.h @@ -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 |