Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Provide private definitions for in_{addr, port}_t.



details:   https://anonhg.NetBSD.org/src/rev/7e6211322258
branches:  trunk
changeset: 526856:7e6211322258
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sun May 12 22:58:48 2002 +0000

description:
Provide private definitions for in_{addr,port}_t.

diffstat:

 sys/sys/ansi.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 624eb01343db -r 7e6211322258 sys/sys/ansi.h
--- a/sys/sys/ansi.h    Sun May 12 22:47:17 2002 +0000
+++ b/sys/sys/ansi.h    Sun May 12 22:58:48 2002 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: ansi.h,v 1.8 2001/10/16 18:05:26 kleink Exp $  */
+/*     $NetBSD: ansi.h,v 1.9 2002/05/12 22:58:48 kleink Exp $  */
 
 /*-
- * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
+ * Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
  * All rights reserved.
  *
  * This code is derived from software contributed to The NetBSD Foundation
@@ -43,6 +43,8 @@
 
 typedef char *         __caddr_t;      /* core address */
 typedef __uint32_t     __gid_t;        /* group id */
+typedef __uint32_t     __in_addr_t;    /* IP(v4) address */
+typedef __uint16_t     __in_port_t;    /* "Internet" port number */
 typedef __uint32_t     __mode_t;       /* file permissions */
 typedef __int64_t      __off_t;        /* file offset */
 typedef __int32_t      __pid_t;        /* process id */



Home | Main Index | Thread Index | Old Index