summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-19 17:31:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-19 17:31:42 +0000
commitf080422a1ec06ca95c3d2f92e322c05c7add8fdb (patch)
tree9fba60e5d85c0e763540df845695a7e4eec6eccf /sys
parent7a8a9debb261e5de046f1ea9c233d2fbb86b394d (diff)
use more modern types
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet6/in6.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 0ef0ccb076a..5ffa0900e71 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.h,v 1.10 2000/02/09 07:37:15 itojun Exp $ */
+/* $OpenBSD: in6.h,v 1.11 2000/02/19 17:31:40 deraadt Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
* All rights reserved.
@@ -141,9 +141,9 @@ struct in6_addr {
#define SIN6_LEN
#endif
struct sockaddr_in6 {
- u_char sin6_len; /* length of this struct(sa_family_t)*/
- u_char sin6_family; /* AF_INET6 (sa_family_t) */
- u_int16_t sin6_port; /* Transport layer port # (in_port_t)*/
+ u_int8_t sin6_len; /* length of this struct(sa_family_t)*/
+ sa_family_t sin6_family; /* AF_INET6 (sa_family_t) */
+ in_port_t sin6_port; /* Transport layer port # (in_port_t)*/
u_int32_t sin6_flowinfo; /* IP6 flow information */
struct in6_addr sin6_addr; /* IP6 address */
u_int32_t sin6_scope_id; /* intface scope id */