Source-Changes-HG archive

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

[src/trunk]: src/sys/netiso Define sa_family_t, and use it for seon_family.



details:   https://anonhg.NetBSD.org/src/rev/752b9e4746d2
branches:  trunk
changeset: 493890:752b9e4746d2
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Jun 26 16:18:36 2000 +0000

description:
Define sa_family_t, and use it for seon_family.

diffstat:

 sys/netiso/eonvar.h |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r f8fddb9ea4e8 -r 752b9e4746d2 sys/netiso/eonvar.h
--- a/sys/netiso/eonvar.h       Mon Jun 26 16:17:13 2000 +0000
+++ b/sys/netiso/eonvar.h       Mon Jun 26 16:18:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eonvar.h,v 1.7 1996/09/08 14:28:10 mycroft Exp $       */
+/*     $NetBSD: eonvar.h,v 1.8 2000/06/26 16:18:36 kleink Exp $        */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -62,6 +62,13 @@
  * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
  */
 
+#include <sys/ansi.h>
+
+#ifndef sa_family_t
+typedef __sa_family_t  sa_family_t;
+#define sa_family_t    sa_family_t
+#endif
+
 #define EON_986_VERSION 0x3
 #define EON_VERSION 0x1
 
@@ -79,7 +86,7 @@
 
 struct sockaddr_eon {
        u_char          seon_len;       /* Length */
-       u_char          seon_family;    /* AF_ISO */
+       sa_family_t     seon_family;    /* AF_ISO */
        u_char          seon_status;    /* overlays session suffixlen */
 #define EON_ESLINK_UP          0x1
 #define EON_ESLINK_DOWN                0x2



Home | Main Index | Thread Index | Old Index