diff options
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; |