diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 1999-11-04 11:17:09 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 1999-11-04 11:17:09 +0000 |
commit | cd7b5aaced981438ce47e465d84081b3bbd818c9 (patch) | |
tree | 4258b935f6ee3674ba267424a9d272c053992086 /sys | |
parent | a7b343da2611bef79312c10ff972c3a395952cd6 (diff) |
New SADB_SATYPE, IPsec bypass tdb.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pfkeyv2.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 |