summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-27 05:27:02 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-27 05:27:02 +0000
commit364dd79e6892344a1ae41cf9434f7dc65530d4df (patch)
treeabbb7f9d9690c00cefc781531e73dc2d6d52a07e /sys
parenta7fe909a8dc297ad15c24624be7711b343e15fac (diff)
Add some IPsec-related IP-level socket options.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/in.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index 835a84676e3..de966785d34 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.h,v 1.44 2001/05/17 18:41:46 provos Exp $ */
+/* $OpenBSD: in.h,v 1.45 2001/05/27 05:27:01 angelos Exp $ */
/* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */
/*
@@ -256,6 +256,11 @@ struct ip_opts {
#define IP_AUTH_LEVEL 20 /* int; authentication used */
#define IP_ESP_TRANS_LEVEL 21 /* int; transport encryption */
#define IP_ESP_NETWORK_LEVEL 22 /* int; full-packet encryption */
+#define IP_IPSEC_LOCAL_ID 23 /* buf; IPsec local ID */
+#define IP_IPSEC_REMOTE_ID 24 /* buf; IPsec remote ID */
+#define IP_IPSEC_LOCAL_CRED 25 /* buf; IPsec local credentials */
+#define IP_IPSEC_REMOTE_CRED 26 /* buf; IPsec remote credentials */
+#define IP_IPSEC_AUTH 27 /* buf; IPsec authentication material */
/*
* Security levels - IPsec, not IPSO