diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-10-30 19:50:25 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-10-30 19:50:25 +0000 |
commit | 91398d4504c457003e896acbf5f781048215dafc (patch) | |
tree | a95971356f9032bcc6fb44fbb48e03b8128c9050 /sbin/ipsecctl/ipsecctl.h | |
parent | ca05097b98440835495e82aa7e6818085ab4e93e (diff) |
add support for ipcomp.
Diffstat (limited to 'sbin/ipsecctl/ipsecctl.h')
-rw-r--r-- | sbin/ipsecctl/ipsecctl.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sbin/ipsecctl/ipsecctl.h b/sbin/ipsecctl/ipsecctl.h index 1d005f1e9b4..88725c879ee 100644 --- a/sbin/ipsecctl/ipsecctl.h +++ b/sbin/ipsecctl/ipsecctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecctl.h,v 1.17 2005/08/22 17:26:46 hshoexer Exp $ */ +/* $OpenBSD: ipsecctl.h,v 1.18 2005/10/30 19:50:23 hshoexer Exp $ */ /* * Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org> * @@ -40,7 +40,7 @@ enum { DIRECTION_UNKNOWN, IPSEC_IN, IPSEC_OUT, IPSEC_INOUT }; enum { - PROTO_UNKNOWN, IPSEC_ESP, IPSEC_AH, IPSEC_COMP, IPSEC_TCPMD5 + PROTO_UNKNOWN, IPSEC_ESP, IPSEC_AH, IPSEC_IPCOMP, IPSEC_TCPMD5 }; enum { AUTH_UNKNOWN, AUTH_PSK, AUTH_RSA @@ -58,10 +58,13 @@ enum { AUTHXF_HMAC_SHA2_512, AUTHXF_MD5, AUTHXF_SHA1 }; enum { - ENCXF_UNKNOWN,ENCXF_NONE, ENCXF_3DES_CBC, ENCXF_DES_CBC, ENCXF_AES, + ENCXF_UNKNOWN, ENCXF_NONE, ENCXF_3DES_CBC, ENCXF_DES_CBC, ENCXF_AES, ENCXF_AESCTR, ENCXF_BLOWFISH, ENCXF_CAST128, ENCXF_NULL, ENCXF_SKIPJACK }; enum { + COMPXF_UNKNOWN, COMPXF_DEFLATE, COMPXF_LZS +}; +enum { IKE_ACTIVE, IKE_PASSIVE }; @@ -98,6 +101,7 @@ struct ipsec_xf { struct ipsec_transforms { const struct ipsec_xf *authxf; const struct ipsec_xf *encxf; + const struct ipsec_xf *compxf; }; extern const struct ipsec_xf authxfs[]; |