|
|
1.1 root 1: /***********************************************************
2: Copyright IBM Corporation 1987
3:
4: All Rights Reserved
5:
6: Permission to use, copy, modify, and distribute this software and its
7: documentation for any purpose and without fee is hereby granted,
8: provided that the above copyright notice appear in all copies and that
9: both that copyright notice and this permission notice appear in
10: supporting documentation, and that the name of IBM not be
11: used in advertising or publicity pertaining to distribution of the
12: software without specific, written prior permission.
13:
14: IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15: ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16: IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17: ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18: WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19: ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20: SOFTWARE.
21:
22: ******************************************************************/
23:
24: /*
25: * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
26: */
27: /* @(#)iso_snpac.h 7.7 (Berkeley) 6/22/90 */
28:
29: #define MAX_SNPALEN 8 /* curiously equal to sizeof x.121 (
30: plus 1 for nibble len) addr */
31: struct snpa_req {
32: struct iso_addr sr_isoa; /* nsap address */
33: u_char sr_len; /* length of snpa */
34: u_char sr_snpa[MAX_SNPALEN]; /* snpa associated
35: with nsap address */
36: u_char sr_flags; /* true if entry is valid */
37: u_short sr_ht; /* holding time */
38: };
39:
40: #define SNPA_VALID 0x01
41: #define SNPA_ES 0x02
42: #define SNPA_IS 0x04
43: #define SNPA_PERM 0x10
44:
45: struct systype_req {
46: short sr_holdt; /* holding timer */
47: short sr_configt; /* configuration timer */
48: short sr_esconfigt; /* suggested ES configuration timer */
49: char sr_type; /* SNPA_ES or SNPA_IS */
50: };
51:
52: struct esis_req {
53: short er_ht; /* holding time */
54: u_char er_flags; /* type and validity */
55: };
56: /*
57: * Space for this structure gets added onto the end of a route
58: * going to an ethernet or other 802.[45x] device.
59: */
60:
61: struct llinfo_llc {
62: struct llinfo_llc *lc_next; /* keep all llc routes linked */
63: struct llinfo_llc *lc_prev; /* keep all llc routes linked */
64: struct rtentry *lc_rt; /* backpointer to route */
65: struct esis_req lc_er; /* holding time, etc */
66: #define lc_ht lc_er.er_ht
67: #define lc_flags lc_er.er_flags
68: };
69:
70:
71: /* ISO arp IOCTL data structures */
72:
73: #define SIOCSSTYPE _IOW('a', 39, struct systype_req) /* set system type */
74: #define SIOCGSTYPE _IOR('a', 40, struct systype_req) /* get system type */
75:
76: #ifdef KERNEL
77: struct llinfo_llc llinfo_llc; /* head for linked lists */
78: #endif KERNEL
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.