diff options
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index 0831c1e8c88..dfde8679508 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.103 2001/06/08 19:40:09 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.104 2001/06/24 18:15:38 provos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -277,18 +277,18 @@ struct tdb /* tunnel descriptor block */ #define TDBF_ALLOCATIONS 0x00008 /* Check the flows counters */ #define TDBF_INVALID 0x00010 /* This SPI is not valid yet/anymore */ #define TDBF_FIRSTUSE 0x00020 /* Expire after first use */ -#define TDBF_HALFIV 0x00040 /* Use half-length IV (ESP old only) */ +#define TDBF_HALFIV 0x00040 /* Use half-length IV (ESP old only) */ #define TDBF_SOFT_TIMER 0x00080 /* Soft expiration */ #define TDBF_SOFT_BYTES 0x00100 /* Soft expiration */ #define TDBF_SOFT_ALLOCATIONS 0x00200 /* Soft expiration */ #define TDBF_SOFT_FIRSTUSE 0x00400 /* Soft expiration */ #define TDBF_PFS 0x00800 /* Ask for PFS from Key Mgmt. */ #define TDBF_TUNNELING 0x01000 /* Force IP-IP encapsulation */ -#define TDBF_NOREPLAY 0x02000 /* No replay counter present */ -#define TDBF_RANDOMPADDING 0x04000 /* Random data in the ESP padding */ -#define TDBF_SKIPCRYPTO 0x08000 /* Skip actual crypto processing */ +#define TDBF_NOREPLAY 0x02000 /* No replay counter present */ +#define TDBF_RANDOMPADDING 0x04000 /* Random data in the ESP padding */ +#define TDBF_SKIPCRYPTO 0x08000 /* Skip actual crypto processing */ - u_int32_t tdb_flags; /* Flags related to this TDB */ + u_int32_t tdb_flags; /* Flags related to this TDB */ struct timeout tdb_timer_tmo; struct timeout tdb_first_tmo; @@ -299,7 +299,7 @@ struct tdb /* tunnel descriptor block */ u_int32_t tdb_soft_allocations; /* Expiration warning */ u_int32_t tdb_cur_allocations; /* Total number of allocations */ - u_int64_t tdb_exp_bytes; /* Expire after so many bytes passed */ + u_int64_t tdb_exp_bytes; /* Expire after so many bytes passed */ u_int64_t tdb_soft_bytes; /* Expiration warning */ u_int64_t tdb_cur_bytes; /* Current count of bytes */ @@ -342,10 +342,10 @@ struct tdb /* tunnel descriptor block */ struct ipsec_ref *tdb_local_cred; struct ipsec_ref *tdb_remote_cred; - struct ipsec_ref *tdb_srcid; /* Source ID for this SA */ - struct ipsec_ref *tdb_dstid; /* Destination ID for this SA */ - struct ipsec_ref *tdb_local_auth; /* Local authentication material */ - struct ipsec_ref *tdb_remote_auth; /* Remote authentication material */ + struct ipsec_ref *tdb_srcid; /* Source ID for this SA */ + struct ipsec_ref *tdb_dstid; /* Destination ID for this SA */ + struct ipsec_ref *tdb_local_auth; /* Local authentication material */ + struct ipsec_ref *tdb_remote_auth; /* Remote authentication material */ TAILQ_HEAD(tdb_inp_head_in, inpcb) tdb_inp_in; TAILQ_HEAD(tdb_inp_head_out, inpcb) tdb_inp_out; |