]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/contrib/ngatm/netnatm/msg/msg.def
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / contrib / ngatm / netnatm / msg / msg.def
1 #
2 # Copyright (c) 2001-2003
3 # Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4 #       All rights reserved.
5 #
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
8 # are met:
9 # 1. Redistributions of source code must retain the above copyright
10 #    notice, this list of conditions and the following disclaimer.
11 # 2. Redistributions in binary form must reproduce the above copyright
12 #    notice, this list of conditions and the following disclaimer in the
13 #    documentation and/or other materials provided with the distribution.
14 #
15 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 # ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 # SUCH DAMAGE.
26 #
27 # Author: Hartmut Brandt <harti@freebsd.org>
28 #
29 # $Begemot: libunimsg/netnatm/msg/msg.def,v 1.4 2003/09/29 10:47:18 hbb Exp $
30 #
31 # Define message contents
32 #
33 #########################################################################
34
35 #  ALERTING message
36
37 #  References:
38 #       Q.2931  8, 17*
39 #       ...A4   4, 11*
40 #       Q.2957  3
41 #       Q.2971  6
42 #       UNI4.0  5
43 #       PNNI1.0 177...178, 184*
44
45 #  Notes:
46 #       N-ISDN compatiblity not implemented.
47
48 start alerting 0x01
49         connid          -               !pnni
50         epref
51         notify
52         git             UNI_NUM_IE_GIT
53         uu              -               !pnni
54         report          -               !pnni
55         unrec
56 end
57
58 #########################################################################
59 #
60 #  CALL PROCEEDING message
61
62 #  References:
63 #       Q.2931  9, 18*
64 #       Q.2971  6
65 #       UNI4.0  5
66 #       PNNI1.0 178
67
68 #  Notes:
69 #       N-ISDN compatiblity not implemented.
70
71 start call_proc 0x02
72         connid
73         epref
74         notify          -               !pnni
75         unrec
76 end
77
78 #########################################################################
79 #
80 # CONNECT message
81 #
82 # References:
83 #       Q.2931   p. 10, 19*
84 #       ...A4   6, 12*
85 #       Q.2932.1 p. 17
86 #       Q.2951   p. 30
87 #       Q.2957   p. 4
88 #       Q.2962   p. 3
89 #       Q.2971   p. 7
90 #       UNI4.0   p. 5-6, 61, 68, 77
91 #       PNNI1.0  pp. 178...179, 184...185*
92 #
93 # Notes:
94 #       N-ISDN compatiblity not implemented.
95 #
96 start connect 0x07
97         aal
98         blli
99         connid          -               !pnni
100         epref
101         notify
102         conned
103         connedsub
104         eetd
105         git             UNI_NUM_IE_GIT
106         uu              -               !pnni
107         traffic
108         exqos
109         facility        -               q2932
110         abrsetup
111         abradd
112         called_soft     -               pnni
113         report          -               !pnni
114         unrec
115 end
116
117 #########################################################################
118 #
119 # CONNECT ACKNOWLEDGE message
120 #
121 # References:
122 #       Q.2931  11
123 #
124 start connect_ack 0x0f !pnni
125         notify
126         unrec
127 end
128
129 #########################################################################
130 #
131 #  RELEASE message
132
133 #  References:
134 #       Q.2931   p. 11, 22*
135 #       Q.2932.1 p. 18
136 #       Q.2957   p. 4
137 #       Q.2962   p. 3
138 #       UNI4.0   p. 6
139 #       PNNI1.0  pp. 179...180, 185...186*
140
141 #  Notes:
142 #       N-ISDN compatiblity not implemented.
143
144 start release 0x4d
145         cause           2
146         notify
147         git             UNI_NUM_IE_GIT
148         uu              -               !pnni
149         facility        -               q2932
150         crankback       -               pnni
151         unrec
152 end
153
154 #########################################################################
155 #
156 #  RELEASE COMPLETE message
157
158 #  References:
159 #       Q.2931   p. 12
160 #       UNI4.0   p. 6
161 #       PNNI1.0  p. 180
162
163 start release_compl 0x5a
164         cause           2
165         git             UNI_NUM_IE_GIT          !pnni
166         uu              -                       !pnni
167         crankback       -                       pnni
168         unrec
169 end
170
171 #########################################################################
172 #
173 #  SETUP message
174
175 #  References:
176 #       Q.2931  13-14, 23-24*
177 #       ...A4   7-9, 13-16*
178 #       Q.2957  5
179 #       Q.2962  3
180 #       Q.2971  7
181 #       UNI4.0  6-7, 43, 57*, 60-61, 68-69, 78
182 #       PNNI1.0 180...182, 186*
183 #       af-cs-0147.000
184
185 #  Notes:
186
187 start setup 0x05
188         aal
189         traffic
190         bearer
191         bhli
192         blli            UNI_NUM_IE_BLLI/R
193         called
194         calledsub       UNI_NUM_IE_CALLEDSUB
195         calling
196         callingsub      UNI_NUM_IE_CALLINGSUB
197         connid
198         qos
199         eetd
200         notify
201         scompl          -               !pnni
202         tns             UNI_NUM_IE_TNS
203         epref
204         atraffic
205         mintraffic
206         uu              -               !pnni
207         git             UNI_NUM_IE_GIT
208         lij_callid      -               !pnni
209         lij_param       -               !pnni
210         lij_seqno       -               !pnni
211         exqos
212         abrsetup
213         abradd
214         cscope
215         calling_soft    -               pnni
216         called_soft     -               pnni
217         dtl             UNI_NUM_IE_DTL/R pnni
218         report          -               !pnni
219         mdcr
220         unrec
221 end
222
223 #########################################################################
224 #
225 #  STATUS message
226
227 #  References:
228 #       Q.2931   p. 14
229 #       Q.2971   p. 8
230 #       PNNI1.0  p. 182
231
232 start status 0x7d
233         callstate
234         cause
235         epref
236         epstate
237         unrec
238 end
239
240 #########################################################################
241 #
242 #  STATUS ENQUIRY message
243
244 #  References:
245 #       Q.2931   p. 15
246 #       Q.2971   p. 8
247 #       PNNI1.0  pp. 182...183
248
249 start status_enq 0x75
250         epref
251         unrec
252 end
253
254 #########################################################################
255 #
256 #  NOTIFY message
257
258 #  References:
259 #       Q.2931   p. 15
260 #       Q.2971   p. 8
261 #       PNNI1.0  p. 183
262 #
263 start notify 0x6e
264         notify
265         epref
266         unrec
267 end
268
269 #########################################################################
270 #
271 #  RESTART message
272
273 #  References:
274 #       Q.2931   p. 26
275 #       UNI4.0   p. 7
276 #       PNNI1.0  pp. 186...187
277 #
278 start restart 0x46
279         connid
280         restart
281         unrec
282 end
283
284 #########################################################################
285 #
286 #  RESTART ACKNOWLEDGE message
287
288 #  References:
289 #       Q.2931   p. 26
290 #       UNI4.0   p. 7
291 #       PNNI1.0  p. 187
292 #
293 start restart_ack 0x4e
294         connid
295         restart
296         unrec
297 end
298
299 #########################################################################
300 #
301 #  ADD PARTY message
302
303 #  References:
304 #       Q.2971  10, 47
305 #       UNI4.0  39, 43-44
306 #       PNNI1.0 188...189
307
308 #  Notes:
309
310 start add_party 0x80
311         aal
312         bhli
313         blli
314         called
315         calledsub       UNI_NUM_IE_CALLEDSUB
316         calling
317         callingsub      UNI_NUM_IE_CALLINGSUB
318         scompl          -               !pnni
319         tns             UNI_NUM_IE_TNS
320         epref
321         notify
322         eetd
323         uu              -               !pnni
324         git             UNI_NUM_IE_GIT
325         lij_seqno       -               !pnni
326         calling_soft    -               pnni
327         called_soft     -               pnni
328         dtl             UNI_NUM_IE_DTL/R pnni
329         unrec
330 end
331
332 #########################################################################
333 #
334 #  ADD PARTY ACKNOWLEDGE message
335
336 #  References:
337 #       Q.2971  10, 42, 47
338 #       UNI4.0  39
339 #       PNNI1.0 189
340
341 #  Notes:
342
343 start add_party_ack 0x81
344         epref
345         aal
346         blli
347         notify
348         eetd
349         conned
350         connedsub
351         uu              -               !pnni
352         git             UNI_NUM_IE_GIT
353         called_soft     -               pnni
354         unrec
355 end
356
357 #########################################################################
358 #
359 #  PARTY ALERTING message
360
361 #  References:
362 #       Q.2971  12, 49
363 #       UNI4.0  39
364 #       PNNI1.0 189...190
365
366 #  Notes:
367
368 start party_alerting 0x85
369         epref
370         notify
371         uu              -               !pnni
372         git             UNI_NUM_IE_GIT
373         unrec
374 end
375
376 #########################################################################
377 #
378 #  ADD PARTY REJECT message
379
380 #  References:
381 #       Q.2971  12, 48
382 #       UNI4.0  40
383 #       PNNI1.0 190
384
385 #  Notes:
386
387 start add_party_rej 0x82
388         cause
389         epref
390         uu              -               !pnni
391         git             UNI_NUM_IE_GIT
392         crankback       -               pnni
393         unrec
394 end
395
396 #########################################################################
397 #
398 #  DROP PARTY message
399
400 #  References:
401 #       Q.2971  13, 48
402 #       UNI4.0  40
403 #       PNNI1.0 191
404
405 #  Notes:
406
407 start drop_party 0x83
408         cause
409         epref
410         notify
411         uu              -               !pnni
412         git             UNI_NUM_IE_GIT
413         unrec
414 end
415
416 #########################################################################
417 #
418 #  DROP PARTY ACKNOWLEDGE message
419
420 #  References:
421 #       Q.2971  13, 49
422 #       UNI4.0  40
423 #       PNNI1.0 191
424
425 #  Notes:
426
427 start drop_party_ack 0x84
428         epref
429         cause
430         uu              -               !pnni
431         git             UNI_NUM_IE_GIT
432         unrec
433 end
434
435 #########################################################################
436 #
437 #  LEAF SETUP REQUEST message
438
439 #  References:
440 #       UNI4.0  45...46
441
442 #  Notes:
443
444 start leaf_setup_req 0x91 !pnni
445         tns             UNI_NUM_IE_TNS
446         calling
447         callingsub      UNI_NUM_IE_CALLINGSUB
448         called
449         calledsub       UNI_NUM_IE_CALLEDSUB
450         lij_callid
451         lij_seqno
452         unrec
453 end
454
455 #########################################################################
456 #
457 #  LEAF SETUP FAIL message
458
459 #  References:
460 #       UNI4.0  45...46
461
462 #  Notes:
463
464 start leaf_setup_fail 0x90 !pnni
465         cause
466         called
467         calledsub
468         lij_seqno
469         tns             UNI_NUM_IE_TNS
470         unrec
471 end
472
473 #########################################################################
474 #
475 #  CO-BI SETUP message
476
477 #  References:
478 #  Q.2932.1     16
479
480 #  Notes:
481
482 start cobisetup 0x15 !pnni&&q2932
483         facility
484         called
485         calledsub
486         calling
487         notify
488         unrec
489 end
490
491 #########################################################################
492 #
493 #  FACILITY message
494
495 #  References:
496 #       Q.2932.1        14...15
497
498 #  Notes:
499
500 start facility 0x62 !pnni&&q2932
501         facility
502         called
503         calledsub
504         calling
505         notify
506         unrec
507 end
508
509 #########################################################################
510 #
511 #   MODIFY REQUEST message
512
513 #  References:
514 #       Q.2963.1        p. 6
515 #       Q.2963.4        p. 4
516 #       UNI4.0-MFY      p. 3
517
518 start modify_req 0x88 !pnni
519         traffic
520         atraffic
521         mintraffic
522         notify
523         git             UNI_NUM_IE_GIT
524         unrec
525 end
526
527 #########################################################################
528 #
529 #   MODIFY ACKNOWLEDGE message
530
531 #  References:
532 #       Q.2963.1        p.6
533 #       Q.2963.3        p.5
534 #       UNI4.0-MFY      p.3
535
536 start modify_ack 0x89 !pnni
537         report
538         traffic
539         notify
540         git             UNI_NUM_IE_GIT
541         unrec
542 end
543
544 #########################################################################
545 #
546 #   MODIFY REJECT message
547
548 #  References:
549 #       Q.2963          p.6
550 #       UNI4.0-MFY      p.3
551
552 start modify_rej 0x8a !pnni
553         cause
554         notify
555         git             UNI_NUM_IE_GIT
556         unrec
557 end
558
559 #########################################################################
560 #
561 #  CONNECTION AVAILABLE message
562
563 #  References:
564 #       Q.2931A4        9...10
565 #       Q.2963          p.6
566 #       UNI4.0-MFY      p.3
567
568 start conn_avail 0x8b !pnni
569         notify
570         git             UNI_NUM_IE_GIT
571         report
572         unrec
573 end
574
575 #########################################################################
576 #
577 #  UNKNOWN message
578 #
579 start unknown 0x100
580         epref
581         unrec
582 end