summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-21 03:23:37 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-21 03:23:37 +0000
commitf73a8c77ad8b6e94d77cf63256efab3aec4b363d (patch)
tree2231c85d56f5fc41bf4280af3a775aac37101209 /sys
parentf3f7cae93e6d8a0457dccf0ed45fd882b6ec3ad4 (diff)
Use int16_t for the type and length of ipsec_ref objects.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_ipsp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index b407516cefc..6449b600d42 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.86 2001/05/21 03:02:19 angelos Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.87 2001/05/21 03:23:36 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -156,10 +156,10 @@ struct sockaddr_encap
struct ipsec_ref
{
- int ref_type; /* Subtype of data */
- int ref_len; /* Length of data following */
- int ref_count; /* Reference count */
- int ref_malloctype; /* malloc(9) type, for free'ing purposes */
+ u_int16_t ref_type; /* Subtype of data */
+ int16_t ref_len; /* Length of data following */
+ int ref_count; /* Reference count */
+ int ref_malloctype; /* malloc(9) type, for freeing purposes */
};
struct ipsec_acquire