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 siso_family.



details:   https://anonhg.NetBSD.org/src/rev/ffcb61c5230e
branches:  trunk
changeset: 493891:ffcb61c5230e
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Jun 26 16:20:01 2000 +0000

description:
Define sa_family_t, and use it for siso_family.

diffstat:

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

diffs (32 lines):

diff -r 752b9e4746d2 -r ffcb61c5230e sys/netiso/iso.h
--- a/sys/netiso/iso.h  Mon Jun 26 16:18:36 2000 +0000
+++ b/sys/netiso/iso.h  Mon Jun 26 16:20:01 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iso.h,v 1.11 1999/01/31 19:43:32 christos Exp $        */
+/*     $NetBSD: iso.h,v 1.12 2000/06/26 16:20:01 kleink Exp $  */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -65,6 +65,13 @@
 #ifndef _NETISO_ISO_H_
 #define _NETISO_ISO_H_
 
+#include <sys/ansi.h>
+
+#ifndef sa_family_t
+typedef __sa_family_t  sa_family_t;
+#define sa_family_t    sa_family_t
+#endif
+
 /*
  *     Return true if this is a multicast address
  *     This assumes that the bit transmission is lsb first. This
@@ -145,7 +152,7 @@
 
 struct sockaddr_iso {
        u_char          siso_len;       /* length */
-       u_char          siso_family;    /* family */
+       sa_family_t     siso_family;    /* family */
        u_char          siso_plen;      /* presentation selector length */
        u_char          siso_slen;      /* session selector length */
        u_char          siso_tlen;      /* transport selector length */



Home | Main Index | Thread Index | Old Index