diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-31 23:45:51 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-05-31 23:45:51 +0000 |
commit | dc5e615435dae62970bd0726869f2da088e4a6f9 (patch) | |
tree | 05c0d3d7c5937abd5131616becbb54ab3aa9fc4a /sys/netinet | |
parent | 06aad7014b363a235310268fa31bb75970477be6 (diff) |
Structure for NIC IPsec processing status reports.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index 216e2cc4f46..f1e715e86e7 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.98 2001/05/30 16:43:12 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.99 2001/05/31 23:45:50 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -89,6 +89,16 @@ union sockaddr_union #define IPSEC_DEFAULT_DEF_AUTH "hmac-sha1" #define IPSEC_DEFAULT_EXPIRE_ACQUIRE 30 +/* Status for IPsec processing done on IPsec-aware NICs */ +struct ipsec_nic_crypto +{ + u_int8_t nic_status; /* Bitfield */ +}; + +#define IPSEC_NIC_STATUS_OK 0 +#define IPSEC_NIC_HASH_FAILED 0x0001 +#define IPSEC_NIC_ BAD_ESP_FORMAT 0x0002 + struct sockaddr_encap { u_int8_t sen_len; /* length */ |