MFC:
[dragonfly.git] / sys / netproto / atm / atm.h
blob24c9440429e1b7f828487ee6bf70009071d24367
1 /*
3 * ===================================
4 * HARP | Host ATM Research Platform
5 * ===================================
8 * This Host ATM Research Platform ("HARP") file (the "Software") is
9 * made available by Network Computing Services, Inc. ("NetworkCS")
10 * "AS IS". NetworkCS does not provide maintenance, improvements or
11 * support of any kind.
13 * NETWORKCS MAKES NO WARRANTIES OR REPRESENTATIONS, EXPRESS OR IMPLIED,
14 * INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
15 * AND FITNESS FOR A PARTICULAR PURPOSE, AS TO ANY ELEMENT OF THE
16 * SOFTWARE OR ANY SUPPORT PROVIDED IN CONNECTION WITH THIS SOFTWARE.
17 * In no event shall NetworkCS be responsible for any damages, including
18 * but not limited to consequential damages, arising from or relating to
19 * any use of the Software or related support.
21 * Copyright 1994-1998 Network Computing Services, Inc.
23 * Copies of this Software may be made, however, the above copyright
24 * notice must be reproduced on all copies.
26 * @(#) $FreeBSD: src/sys/netatm/atm.h,v 1.2 1999/08/28 00:48:34 peter Exp $
27 * @(#) $DragonFly: src/sys/netproto/atm/atm.h,v 1.3 2005/02/01 00:51:50 joerg Exp $
32 * Core ATM Services
33 * -----------------
35 * ATM address family definitions
39 #ifndef _NETATM_ATM_H
40 #define _NETATM_ATM_H
44 * The definitions in this file are intended to conform to the
45 * specifications defined in:
47 * The Open Group, Networking Services (XNS) Issue 5
49 * ATM Transport Protocol Information for Sockets
51 * which is Copyright (c) 1997, The Open Group.
53 * All extensions contained in this file to the base specification
54 * are denoted with a comment string of "XNS_EXT".
58 * ATM socket protocols
60 #define ATM_PROTO_AAL5 0x5301 /* AAL type 5 protocol */
61 #define ATM_PROTO_SSCOP 0x5302 /* SSCOP protocol */
65 * ATM address defintions
68 * General format of an ATM address
70 #define ATM_ADDR_LEN 20 /* Size of address field (XNS_EXT) */
72 struct t_atm_addr {
73 int8_t address_format; /* Address format (see below) */
74 u_int8_t address_length; /* Length of address field */
75 u_int8_t address[ATM_ADDR_LEN]; /* Address field */
77 typedef struct t_atm_addr Atm_addr; /* XNS_EXT */
80 * ATM address formats
82 #define T_ATM_ABSENT (-1) /* No address present */
83 #define T_ATM_ENDSYS_ADDR 1 /* ATM Endsystem */
84 #define T_ATM_NSAP_ADDR 1 /* NSAP */
85 #define T_ATM_E164_ADDR 2 /* E.164 */
86 #define T_ATM_SPANS_ADDR 3 /* FORE SPANS (XNS_EXT) */
87 #define T_ATM_PVC_ADDR 4 /* PVC (VPI,VCI) (XNS_EXT) */
90 * ATM Endsystem / NSAP address format
92 struct atm_addr_nsap { /* XNS_EXT */
93 u_char aan_afi; /* Authority and Format Identifier */
94 /* (see below) */
95 u_char aan_afspec[12]; /* AFI specific fields */
96 u_char aan_esi[6]; /* End System Identifier */
97 u_char aan_sel; /* Selector */
99 typedef struct atm_addr_nsap Atm_addr_nsap;
102 * AFI codes
104 #define AFI_DCC 0x39 /* DCC ATM Format (XNS_EXT) */
105 #define AFI_ICD 0x47 /* ICD ATM Format (XNS_EXT) */
106 #define AFI_E164 0x45 /* E.164 ATM Format (XNS_EXT) */
109 * E.164 address format
111 struct atm_addr_e164 { /* XNS_EXT */
112 u_char aae_addr[15]; /* E.164 address */
114 typedef struct atm_addr_e164 Atm_addr_e164;
117 * SPANS address format
119 struct atm_addr_spans { /* XNS_EXT */
120 u_char aas_addr[8]; /* See SPANS code for specific fields */
122 typedef struct atm_addr_spans Atm_addr_spans;
125 * PVC address format
127 struct atm_addr_pvc { /* XNS_EXT */
128 u_int8_t aap_vpi[2]; /* VPI */
129 u_int8_t aap_vci[2]; /* VCI */
131 typedef struct atm_addr_pvc Atm_addr_pvc;
133 #define ATM_PVC_GET_VPI(addr) /* XNS_EXT */ \
134 ((u_int16_t)(((addr)->aap_vpi[0] << 8) | (addr)->aap_vpi[1]))
135 #define ATM_PVC_GET_VCI(addr) /* XNS_EXT */ \
136 ((u_int16_t)(((addr)->aap_vci[0] << 8) | (addr)->aap_vci[1]))
137 #define ATM_PVC_SET_VPI(addr,vpi) { /* XNS_EXT */ \
138 (addr)->aap_vpi[0] = ((vpi) >> 8) & 0xff; \
139 (addr)->aap_vpi[1] = (vpi) & 0xff; \
141 #define ATM_PVC_SET_VCI(addr,vci) { /* XNS_EXT */ \
142 (addr)->aap_vci[0] = ((vci) >> 8) & 0xff; \
143 (addr)->aap_vci[1] = (vci) & 0xff; \
148 * ATM service access point (SAP)
150 * A SAP address consists of SAP Vector Elements (SVE). Each SVE consists
151 * of the following fields:
152 * o tag - defines the interpretation of the SVE;
153 * o length - the length of the SVE value field;
154 * o value - the value associated with the SVE;
156 * All of the possible SAP field values are either defined below
157 * or in the corresponding option value definitions.
161 * ATM Address and Selector SVE
163 struct t_atm_sap_addr {
164 int8_t SVE_tag_addr; /* SVE tag (address) */
165 int8_t SVE_tag_selector; /* SVE tag (selector) */
166 /* Address/selector value */
167 int8_t address_format; /* Address format */
168 u_int8_t address_length; /* Length of address field */
169 u_int8_t address[ATM_ADDR_LEN]; /* Address field */
173 * B-LLI Layer 2 SVE
175 struct t_atm_sap_layer2 {
176 int8_t SVE_tag; /* SVE tag */
177 u_int8_t ID_type; /* Layer 2 protocol discriminator */
178 union { /* Layer 2 protocol */
179 u_int8_t simple_ID; /* ITU */
180 u_int8_t user_defined_ID;/* User-defined */
181 } ID;
185 * B-LLI Layer 3 SVE
187 struct t_atm_sap_layer3 {
188 int8_t SVE_tag; /* SVE tag */
189 u_int8_t ID_type; /* Layer 3 protocol discriminator */
190 union { /* Layer 3 protocol */
191 u_int8_t simple_ID; /* ITU */
192 u_int8_t IPI_ID; /* ISO IPI */
193 struct { /* IEEE 802.1 SNAP ID */
194 u_int8_t OUI[3];
195 u_int8_t PID[2];
196 } SNAP_ID;
197 u_int8_t user_defined_ID;/* User-defined */
198 } ID;
202 * B_HLI SVE
204 struct t_atm_sap_appl {
205 int8_t SVE_tag; /* SVE tag */
206 u_int8_t ID_type; /* High Layer type discriminator */
207 union { /* High Layer type */
208 u_int8_t ISO_ID[8]; /* ISO */
209 struct { /* Vendor-specific */
210 u_int8_t OUI[3];
211 u_int8_t app_ID[4];
212 } vendor_ID;
213 u_int8_t user_defined_ID[8];/* User-defined */
214 } ID;
218 * ATM SAP (protocol) address structure
220 struct t_atm_sap {
221 struct t_atm_sap_addr t_atm_sap_addr;
222 struct t_atm_sap_layer2 t_atm_sap_layer2;
223 struct t_atm_sap_layer3 t_atm_sap_layer3;
224 struct t_atm_sap_appl t_atm_sap_appl;
228 * SVE Tag values
230 #define T_ATM_ABSENT (-1) /* Value field invalid; match none */
231 #define T_ATM_PRESENT (-2) /* Value field valid; match value */
232 #define T_ATM_ANY (-3) /* Value field invalid; match any */
236 * ATM socket address
238 struct sockaddr_atm { /* XNS_EXT */
239 u_char satm_len; /* Length of socket structure */
240 u_char satm_family; /* Address family */
241 struct t_atm_sap satm_addr; /* Protocol address */
246 * ATM socket options for use with [gs]etsockopt()
248 #define T_ATM_SIGNALING 0x5301 /* Option level */
250 #define T_ATM_AAL5 1 /* ATM adaptation layer 5 */
251 #define T_ATM_TRAFFIC 2 /* ATM traffic descriptor */
252 #define T_ATM_BEARER_CAP 3 /* ATM service capabilities */
253 #define T_ATM_BHLI 4 /* Higher-layer protocol */
254 #define T_ATM_BLLI 5 /* Lower-layer protocol */
255 #define T_ATM_DEST_ADDR 6 /* Call responder's address */
256 #define T_ATM_DEST_SUB 7 /* Call responder's subaddress */
257 #define T_ATM_ORIG_ADDR 8 /* Call initiator's address */
258 #define T_ATM_ORIG_SUB 9 /* Call initiator's subaddress */
259 #define T_ATM_CALLER_ID 10 /* Caller's ID attributes */
260 #define T_ATM_CAUSE 11 /* Cause of disconection */
261 #define T_ATM_QOS 12 /* Quality of service */
262 #define T_ATM_TRANSIT 13 /* Choice of public carrier */
263 #define T_ATM_ADD_LEAF 14 /* Add leaf to connection */
264 #define T_ATM_DROP_LEAF 15 /* Remove leaf from connection */
265 #define T_ATM_LEAF_IND 16 /* Indication of leaf status */
266 #define T_ATM_NET_INTF 17 /* Network interface XNS_EXT */
267 #define T_ATM_LLC 18 /* LLC multiplexing XNS_EXT */
268 #define T_ATM_APP_NAME 19 /* Application name XNS_EXT */
272 * Common socket option values
274 * See API specification for individual option applicability/meaning
276 #define T_ATM_ABSENT (-1) /* No option value present */
277 #define T_ATM_NULL 0 /* Option value is null */
278 #define T_NO 0 /* Option is not requested */
279 #define T_YES 1 /* Option is requested */
283 * T_ATM_AAL5 option value structure
285 struct t_atm_aal5 {
286 int32_t forward_max_SDU_size;
287 int32_t backward_max_SDU_size;
288 int32_t SSCS_type;
292 * T_ATM_AAL5 option values
294 /* SSCS_type */
295 #define T_ATM_SSCS_SSCOP_REL 1 /* SSCOP assured operation */
296 #define T_ATM_SSCS_SSCOP_UNREL 2 /* SSCOP non-assured operation */
297 #define T_ATM_SSCS_FR 4 /* Frame relay */
301 * T_ATM_TRAFFIC option value structure
303 struct t_atm_traffic_substruct {
304 int32_t PCR_high_priority;
305 int32_t PCR_all_traffic;
306 int32_t SCR_high_priority;
307 int32_t SCR_all_traffic;
308 int32_t MBS_high_priority;
309 int32_t MBS_all_traffic;
310 int32_t tagging;
313 struct t_atm_traffic {
314 struct t_atm_traffic_substruct forward;
315 struct t_atm_traffic_substruct backward;
316 u_int8_t best_effort;
321 * T_ATM_BEARER_CAP option value structure
323 struct t_atm_bearer {
324 u_int8_t bearer_class;
325 u_int8_t traffic_type;
326 u_int8_t timing_requirements;
327 u_int8_t clipping_susceptibility;
328 u_int8_t connection_configuration;
332 * T_ATM_BEARER_CAP option values
334 /* bearer_class */
335 #define T_ATM_CLASS_A 0x01 /* Bearer class A */
336 #define T_ATM_CLASS_C 0x03 /* Bearer class C */
337 #define T_ATM_CLASS_X 0x10 /* Bearer class X */
339 /* traffic_type */
340 #define T_ATM_CBR 0x01 /* Constant bit rate */
341 #define T_ATM_VBR 0x02 /* Variable bit rate */
343 /* timing_requirements */
344 #define T_ATM_END_TO_END 0x01 /* End-to-end timing required */
345 #define T_ATM_NO_END_TO_END 0x02 /* End-to-end timing not required */
347 /* connection_configuration */
348 #define T_ATM_1_TO_1 0x00 /* Point-to-point connection */
349 #define T_ATM_1_TO_MANY 0x01 /* Point-to-multipoint connection */
353 * T_ATM_BHLI option value structure
355 struct t_atm_bhli {
356 int32_t ID_type;
357 union {
358 u_int8_t ISO_ID[8];
359 struct {
360 u_int8_t OUI[3];
361 u_int8_t app_ID[4];
362 } vendor_ID;
363 u_int8_t user_defined_ID[8];
364 } ID;
368 * T_ATM_BHLI option values
370 /* ID_type */
371 #define T_ATM_ISO_APP_ID 0 /* ISO codepoint */
372 #define T_ATM_USER_APP_ID 1 /* User-specific codepoint */
373 #define T_ATM_VENDOR_APP_ID 3 /* Vendor-specific codepoint */
376 * T_ATM_BLLI option value structure
378 struct t_atm_blli {
379 struct {
380 int8_t ID_type;
381 union {
382 u_int8_t simple_ID;
383 u_int8_t user_defined_ID;
384 } ID;
385 int8_t mode;
386 int8_t window_size;
387 } layer_2_protocol;
388 struct {
389 int8_t ID_type;
390 union {
391 u_int8_t simple_ID;
392 int32_t IPI_ID;
393 struct {
394 u_int8_t OUI[3];
395 u_int8_t PID[2];
396 } SNAP_ID;
397 u_int8_t user_defined_ID;
398 } ID;
399 int8_t mode;
400 int8_t packet_size;
401 int8_t window_size;
402 } layer_3_protocol;
407 * T_ATM_BLLI option values
409 /* layer_[23]_protocol.ID_type */
410 #define T_ATM_SIMPLE_ID 1 /* ID via ITU encoding */
411 #define T_ATM_IPI_ID 2 /* ID via ISO/IEC TR 9577 */
412 #define T_ATM_SNAP_ID 3 /* ID via SNAP */
413 #define T_ATM_USER_ID 4 /* ID via user codepoints */
415 /* layer_[23]_protocol.mode */
416 #define T_ATM_BLLI_NORMAL_MODE 1
417 #define T_ATM_BLLI_EXTENDED_MODE 2
419 /* layer_2_protocol.simple_ID */
420 #define T_ATM_BLLI2_I1745 1 /* I.1745 */
421 #define T_ATM_BLLI2_Q921 2 /* Q.921 */
422 #define T_ATM_BLLI2_X25_LINK 6 /* X.25, link layer */
423 #define T_ATM_BLLI2_X25_MLINK 7 /* X.25, multilink */
424 #define T_ATM_BLLI2_LAPB 8 /* Extended LAPB */
425 #define T_ATM_BLLI2_HDLC_ARM 9 /* I.4335, ARM */
426 #define T_ATM_BLLI2_HDLC_NRM 10 /* I.4335, NRM */
427 #define T_ATM_BLLI2_HDLC_ABM 11 /* I.4335, ABM */
428 #define T_ATM_BLLI2_I8802 12 /* I.8802 */
429 #define T_ATM_BLLI2_X75 13 /* X.75 */
430 #define T_ATM_BLLI2_Q922 14 /* Q.922 */
431 #define T_ATM_BLLI2_I7776 17 /* I.7776 */
433 /* layer_3_protocol.simple_ID */
434 #define T_ATM_BLLI3_X25 6 /* X.25 */
435 #define T_ATM_BLLI3_I8208 7 /* I.8208 */
436 #define T_ATM_BLLI3_X223 8 /* X.223 */
437 #define T_ATM_BLLI3_I8473 9 /* I.8473 */
438 #define T_ATM_BLLI3_T70 10 /* T.70 */
439 #define T_ATM_BLLI3_I9577 11 /* I.9577 */
441 /* layer_3_protocol.packet_size */
442 #define T_ATM_PACKET_SIZE_16 4
443 #define T_ATM_PACKET_SIZE_32 5
444 #define T_ATM_PACKET_SIZE_64 6
445 #define T_ATM_PACKET_SIZE_128 7
446 #define T_ATM_PACKET_SIZE_256 8
447 #define T_ATM_PACKET_SIZE_512 9
448 #define T_ATM_PACKET_SIZE_1024 10
449 #define T_ATM_PACKET_SIZE_2048 11
450 #define T_ATM_PACKET_SIZE_4096 12
454 * T_ATM_CALLER_ID option value structure
456 struct t_atm_caller_id {
457 int8_t presentation;
458 u_int8_t screening;
462 * T_ATM_CALLER_ID option values
464 /* presentation */
465 #define T_ATM_PRES_ALLOWED 0
466 #define T_ATM_PRES_RESTRICTED 1
467 #define T_ATM_PRES_UNAVAILABLE 2
468 /* screening */
469 #define T_ATM_USER_ID_NOT_SCREENED 0
470 #define T_ATM_USER_ID_PASSED_SCREEN 1
471 #define T_ATM_USER_ID_FAILED_SCREEN 2
472 #define T_ATM_NETWORK_PROVIDED_ID 3
476 * T_ATM_CAUSE option value structure
478 struct t_atm_cause {
479 int8_t coding_standard;
480 u_int8_t location;
481 u_int8_t cause_value;
482 u_int8_t diagnostics[4];
486 * T_ATM_CAUSE option values
488 /* coding_standard */
489 #define T_ATM_ITU_CODING 0
490 #define T_ATM_NETWORK_CODING 3
492 /* location */
493 #define T_ATM_LOC_USER 0
494 #define T_ATM_LOC_LOCAL_PRIVATE_NET 1
495 #define T_ATM_LOC_LOCAL_PUBLIC_NET 2
496 #define T_ATM_LOC_TRANSIT_NET 3
497 #define T_ATM_LOC_REMOTE_PUBLIC_NET 4
498 #define T_ATM_LOC_REMOTE_PRIVATE_NET 5
499 #define T_ATM_LOC_INTERNATIONAL_NET 7
500 #define T_ATM_LOC_BEYOND_INTERWORKING 10
502 /* cause_value */
503 #define T_ATM_CAUSE_UNALLOCATED_NUMBER 1
504 #define T_ATM_CAUSE_NO_ROUTE_TO_TRANSIT_NETWORK 2
505 #define T_ATM_CAUSE_NO_ROUTE_TO_DESTINATION 3
506 #define T_ATM_CAUSE_NORMAL_CALL_CLEARING 16
507 #define T_ATM_CAUSE_USER_BUSY 17
508 #define T_ATM_CAUSE_NO_USER_RESPONDING 18
509 #define T_ATM_CAUSE_CALL_REJECTED 21
510 #define T_ATM_CAUSE_NUMBER_CHANGED 22
511 #define T_ATM_CAUSE_ALL_CALLS_WITHOUT_CALLER_ID_REJECTED 23
512 #define T_ATM_CAUSE_DESTINATION_OUT_OF_ORDER 27
513 #define T_ATM_CAUSE_INVALID_NUMBER_FORMAT 28
514 #define T_ATM_CAUSE_RESPONSE_TO_STATUS_ENQUIRY 30
515 #define T_ATM_CAUSE_UNSPECIFIED_NORMAL 31
516 #define T_ATM_CAUSE_REQUESTED_VPCI_VCI_NOT_AVAILABLE 35
517 #define T_ATM_CAUSE_VPCI_VCI_ASSIGNMENT_FAILURE 36
518 #define T_ATM_CAUSE_USER_CELL_RATE_NOT_AVAILABLE 37
519 #define T_ATM_CAUSE_NETWORK_OUT_OF_ORDER 38
520 #define T_ATM_CAUSE_TEMPORARY_FAILURE 41
521 #define T_ATM_CAUSE_ACCESS_INFO_DISCARDED 43
522 #define T_ATM_CAUSE_NO_VPCI_VCI_AVAILABLE 45
523 #define T_ATM_CAUSE_UNSPECIFIED_RESOURCE_UNAVAILABLE 47
524 #define T_ATM_CAUSE_QUALITY_OF_SERVICE_UNAVAILABLE 49
525 #define T_ATM_CAUSE_BEARER_CAPABILITY_NOT_AUTHORIZED 57
526 #define T_ATM_CAUSE_BEARER_CAPABILITY_UNAVAILABLE 58
527 #define T_ATM_CAUSE_SERVICE_OR_OPTION_UNAVAILABLE 63
528 #define T_ATM_CAUSE_BEARER_CAPABILITY_NOT_IMPLEMENTED 65
529 #define T_ATM_CAUSE_INVALID_TRAFFIC_PARAMETERS 73
530 #define T_ATM_CAUSE_AAL_PARAMETERS_NOT_SUPPORTED 78
531 #define T_ATM_CAUSE_INVALID_CALL_REFERENCE_VALUE 81
532 #define T_ATM_CAUSE_IDENTIFIED_CHANNEL_DOES_NOT_EXIST 82
533 #define T_ATM_CAUSE_INCOMPATIBLE_DESTINATION 88
534 #define T_ATM_CAUSE_INVALID_ENDPOINT_REFERENCE 89
535 #define T_ATM_CAUSE_INVALID_TRANSIT_NETWORK_SELECTION 91
536 #define T_ATM_CAUSE_TOO_MANY_PENDING_ADD_PARTY_REQUESTS 92
537 #define T_ATM_CAUSE_MANDITORY_INFO_ELEMENT_MISSING 96
538 #define T_ATM_CAUSE_MESSAGE_TYPE_NOT_IMPLEMENTED 97
539 #define T_ATM_CAUSE_INFO_ELEMENT_NOT_IMPLEMENTED 99
540 #define T_ATM_CAUSE_INVALID_INFO_ELEMENT_CONTENTS 100
541 #define T_ATM_CAUSE_MESSAGE_INCOMPATIBLE_WITH_CALL_STATE 101
542 #define T_ATM_CAUSE_RECOVERY_ON_TIMER_EXPIRY 102
543 #define T_ATM_CAUSE_INCORRECT_MESSAGE_LENGTH 104
544 #define T_ATM_CAUSE_UNSPECIFIED_PROTOCOL_ERROR 111
548 * T_ATM_QOS option value structure
550 struct t_atm_qos_substruct {
551 int32_t qos_class;
554 struct t_atm_qos {
555 int8_t coding_standard;
556 struct t_atm_qos_substruct forward;
557 struct t_atm_qos_substruct backward;
561 * T_ATM_QOS option values
563 /* qos_class */
564 #define T_ATM_QOS_CLASS_0 0
565 #define T_ATM_QOS_CLASS_1 1
566 #define T_ATM_QOS_CLASS_2 2
567 #define T_ATM_QOS_CLASS_3 3
568 #define T_ATM_QOS_CLASS_4 4
572 * T_ATM_TRANSIT structure
574 #define T_ATM_MAX_NET_ID 4 /* XNS_EXT */
575 struct t_atm_transit {
576 u_int8_t length;
577 u_int8_t network_id[T_ATM_MAX_NET_ID];
582 * T_ATM_ADD_LEAF option value structure
584 struct t_atm_add_leaf {
585 int32_t leaf_ID;
586 struct t_atm_addr leaf_address;
591 * T_ATM_DROP_LEAF option value structure
593 struct t_atm_drop_leaf {
594 int32_t leaf_ID;
595 int32_t reason;
599 * T_ATM_LEAF_IND option value structure
601 struct t_atm_leaf_ind {
602 int32_t status;
603 int32_t leaf_ID;
604 int32_t reason;
608 * T_ATM_LEAF_IND option values
610 /* status */
611 #define T_LEAF_NOCHANGE 0
612 #define T_LEAF_CONNECTED 1
613 #define T_LEAF_DISCONNECTED 2
616 * T_ATM_NET_INTF option value structure (XNS_EXT)
618 struct t_atm_net_intf { /* XNS_EXT */
619 char net_intf[IFNAMSIZ];
623 * T_ATM_LLC option value structure (XNS_EXT)
625 #define T_ATM_LLC_MIN_LEN 3
626 #define T_ATM_LLC_MAX_LEN 8
628 struct t_atm_llc { /* XNS_EXT */
629 u_int8_t flags; /* LLC flags (see below) */
630 u_int8_t llc_len; /* Length of LLC information */
631 u_int8_t llc_info[T_ATM_LLC_MAX_LEN]; /* LLC information */
635 * T_ATM_LLC option values
637 /* flags */
638 #define T_ATM_LLC_SHARING 0x01 /* LLC sharing allowed */
641 * T_ATM_APP_NAME option value structure (XNS_EXT)
643 #define T_ATM_APP_NAME_LEN 8
644 struct t_atm_app_name { /* XNS_EXT */
645 char app_name[T_ATM_APP_NAME_LEN];
648 #endif /* _NETATM_ATM_H */