summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-11-30 18:50:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-11-30 18:50:20 +0000
commit0fa29ed3de6efe4c1718a1d01c73f320dbfbe53a (patch)
treea661a68f1de56c9ea0ffe003b5cc6063b877f129 /sys/netinet
parent82e3aed69c58396e3e6765d48b1017f3ae9b4079 (diff)
Move in_addr_t and in_port_t to <sys/types.h> and add sa_family_t
and suseconds_t types for XPG4.2.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index 88d7848dc31..d86a6779e8d 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.h,v 1.10 1997/07/28 15:22:30 millert Exp $ */
+/* $OpenBSD: in.h,v 1.11 1997/11/30 18:50:19 millert Exp $ */
/* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */
/*
@@ -193,11 +193,11 @@ struct in_addr {
* Socket address, internet style.
*/
struct sockaddr_in {
- u_int8_t sin_len;
- u_int8_t sin_family;
- u_int16_t sin_port;
- struct in_addr sin_addr;
- int8_t sin_zero[8];
+ u_int8_t sin_len;
+ sa_family_t sin_family;
+ in_port_t sin_port;
+ struct in_addr sin_addr;
+ int8_t sin_zero[8];
};
/*