Net2/usr/src/contrib/isode/snmp/clns.h

Compare this file to the similar file:
Show the results in this format:

/* clns.h - support for MIB realization of the experimental CLNS group */

/* 
 * $Header: /f/osi/snmp/RCS/clns.h,v 7.4 91/02/22 09:43:00 mrose Interim $
 *
 * Contributed by NYSERNet Inc.  This work was partially supported by the
 * U.S. Defense Advanced Research Projects Agency and the Rome Air Development
 * Center of the U.S. Air Force Systems Command under contract number
 * F30602-88-C-0016.
 *
 *
 * $Log:	clns.h,v $
 * Revision 7.4  91/02/22  09:43:00  mrose
 * Interim 6.8
 * 
 * Revision 7.3  90/12/18  10:13:17  mrose
 * update
 * 
 * Revision 7.2  89/12/19  16:18:22  mrose
 * dgram
 * 
 * Revision 7.1  89/12/01  10:42:14  mrose
 * clts
 * 
 * Revision 7.0  89/11/23  22:22:58  mrose
 * Release 6.0
 * 
 */

/*
 *				  NOTICE
 *
 *    Acquisition, use, and distribution of this module and related
 *    materials are subject to the restrictions of a license agreement.
 *    Consult the Preface in the User's Manual for the full terms of
 *    this agreement.
 *
 */

/*  */

#ifndef	BSD44
#define	AF_ISO	AF_NBS		/* any value will do */


struct iso_addr {
    u_char	isoa_len;	    /* length in octets */
    char	isoa_genaddr[20];   /* general opaque address */
};

struct sockaddr_iso {
    u_char	siso_len;	/* length */
    u_char	siso_family;	/* address family */
    u_char	siso_plen;	/* psel length */
    u_char	siso_slen;	/* ssel length */
    u_char	siso_tlen;	/* tsel length */

    struct iso_addr siso_addr;	/* network address */

    u_char	siso_pad[6];	/* space for gosip v2 sels */
};
#define	siso_nlen	siso_addr.isoa_len
#define	siso_data	siso_addr.isoa_genaddr

#else
#include <netiso/iso.h>
#endif