From cd7b5aaced981438ce47e465d84081b3bbd818c9 Mon Sep 17 00:00:00 2001 From: Hakan Olsson Date: Thu, 4 Nov 1999 11:17:09 +0000 Subject: New SADB_SATYPE, IPsec bypass tdb. --- sys/net/pfkeyv2.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/net/pfkeyv2.h') diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h index 1a7f52d0d5b..2a05711d7c3 100644 --- a/sys/net/pfkeyv2.h +++ b/sys/net/pfkeyv2.h @@ -163,7 +163,8 @@ struct sadb_protocol { (x) == SADB_X_SATYPE_AH_OLD ? IPPROTO_AH :\ (x) == SADB_SATYPE_ESP ? IPPROTO_ESP :\ (x) == SADB_X_SATYPE_ESP_OLD ? IPPROTO_ESP :\ - IPPROTO_IPIP ) + (x) == SADB_X_SATYPE_BYPASS ? IPPROTO_IP :\ + IPPROTO_IPIP ) #define SADB_EXT_RESERVED 0 #define SADB_EXT_SA 1 @@ -202,7 +203,8 @@ struct sadb_protocol { #define SADB_X_SATYPE_ESP_OLD 8 #define SADB_X_SATYPE_IPIP 9 #define SADB_X_SATYPE_TCPSIGNATURE 10 -#define SADB_SATYPE_MAX 10 +#define SADB_X_SATYPE_BYPASS 11 +#define SADB_SATYPE_MAX 11 #define SADB_SASTATE_LARVAL 0 #define SADB_SASTATE_MATURE 1 -- cgit v1.2.3