diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-11-12 12:00:54 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-11-12 12:00:54 +0000 |
commit | 63ce3110ca26585d80f472054e98dc7773e807e7 (patch) | |
tree | 0d5e4df88a49c6d367c076097a29b54a66fcbe0b /sbin/ipsecctl/ipsecctl.h | |
parent | 02ffe946b7c40c8ecd5fac91ee755299fc2bacb9 (diff) |
handle transport/tunnel mode
Diffstat (limited to 'sbin/ipsecctl/ipsecctl.h')
-rw-r--r-- | sbin/ipsecctl/ipsecctl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/ipsecctl/ipsecctl.h b/sbin/ipsecctl/ipsecctl.h index dbda9d40a75..e710d00495c 100644 --- a/sbin/ipsecctl/ipsecctl.h +++ b/sbin/ipsecctl/ipsecctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecctl.h,v 1.20 2005/11/06 22:51:51 hshoexer Exp $ */ +/* $OpenBSD: ipsecctl.h,v 1.21 2005/11/12 12:00:53 hshoexer Exp $ */ /* * Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org> * @@ -43,6 +43,9 @@ enum { PROTO_UNKNOWN, IPSEC_ESP, IPSEC_AH, IPSEC_IPCOMP, IPSEC_TCPMD5 }; enum { + MODE_UNKNOWN, IPSEC_TRANSPORT, IPSEC_TUNNEL +}; +enum { AUTH_UNKNOWN, AUTH_PSK, AUTH_RSA }; enum { @@ -134,6 +137,7 @@ struct ipsec_rule { struct ipsec_key *enckey; u_int8_t proto; + u_int8_t tmode; u_int8_t direction; u_int8_t flowtype; u_int8_t ikemode; |