|
|
1.1 root 1: /* clnp.h - support for MIB realization of the experimental CLNP group */
2:
3: /*
4: * $Header: /f/osi/snmp/RCS/clnp.h,v 7.2 89/12/19 16:18:22 mrose Exp $
5: *
6: * Contributed by NYSERNet Inc. This work was partially supported by the
7: * U.S. Defense Advanced Research Projects Agency and the Rome Air Development
8: * Center of the U.S. Air Force Systems Command under contract number
9: * F30602-88-C-0016.
10: *
11: *
12: * $Log: clnp.h,v $
13: * Revision 7.2 89/12/19 16:18:22 mrose
14: * dgram
15: *
16: * Revision 7.1 89/12/01 10:42:14 mrose
17: * clts
18: *
19: * Revision 7.0 89/11/23 22:22:58 mrose
20: * Release 6.0
21: *
22: */
23:
24: /*
25: * NOTICE
26: *
27: * Acquisition, use, and distribution of this module and related
28: * materials are subject to the restrictions of a license agreement.
29: * Consult the Preface in the User's Manual for the full terms of
30: * this agreement.
31: *
32: */
33:
34: /* */
35:
36: #ifndef BSD44
37: #define AF_ISO AF_NBS /* any value will do */
38:
39:
40: struct iso_addr {
41: u_char isoa_len; /* length in octets */
42: char isoa_genaddr[20]; /* general opaque address */
43: };
44:
45: struct sockaddr_iso {
46: u_char siso_len; /* length */
47: u_char siso_family; /* address family */
48: u_char siso_plen; /* psel length */
49: u_char siso_slen; /* ssel length */
50: u_char siso_tlen; /* tsel length */
51:
52: struct iso_addr siso_addr; /* network address */
53:
54: u_char siso_pad[6]; /* space for gosip v2 sels */
55: };
56: #define siso_nlen siso_addr.isoa_len
57: #define siso_data siso_addr.isoa_genaddr
58:
59: #else
60: #include <netiso/iso.h>
61: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.