| 1 | /* mpkt.h - defines the report format for management */ |
| 2 | |
| 3 | /* |
| 4 | * $Header: /f/osi/h/RCS/mpkt.h,v 7.1 91/02/22 09:24:50 mrose Interim $ |
| 5 | * |
| 6 | * |
| 7 | * $Log: mpkt.h,v $ |
| 8 | * Revision 7.1 91/02/22 09:24:50 mrose |
| 9 | * Interim 6.8 |
| 10 | * |
| 11 | * Revision 7.0 89/11/23 21:55:50 mrose |
| 12 | * Release 6.0 |
| 13 | * |
| 14 | */ |
| 15 | |
| 16 | /* |
| 17 | * NOTICE |
| 18 | * |
| 19 | * Acquisition, use, and distribution of this module and related |
| 20 | * materials are subject to the restrictions of a license agreement. |
| 21 | * Consult the Preface in the User's Manual for the full terms of |
| 22 | * this agreement. |
| 23 | * |
| 24 | */ |
| 25 | |
| 26 | #include "isoaddrs.h" |
| 27 | |
| 28 | |
| 29 | struct MReport { |
| 30 | u_short type; |
| 31 | #define OPREQIN 1 |
| 32 | #define OPREQOUT 2 |
| 33 | #define USERDT 3 |
| 34 | #define USERDR 4 |
| 35 | #define DISCREQ 5 |
| 36 | #define PROTERR 6 |
| 37 | #define CONGEST 7 |
| 38 | #define CONFIGBAD 8 |
| 39 | #define OPREQINBAD 9 |
| 40 | #define OPREQOUTBAD 10 |
| 41 | #define SOURCEADDR 11 |
| 42 | #define STARTLISTEN 12 |
| 43 | #define ENDLISTEN 13 |
| 44 | |
| 45 | long id; /* process id */ |
| 46 | u_short cid; /* connection fd */ |
| 47 | |
| 48 | union { |
| 49 | struct { |
| 50 | int a, b, c, d, e, f; |
| 51 | } gp; |
| 52 | |
| 53 | struct { |
| 54 | int tsel_len; |
| 55 | char tsel[TSSIZE]; |
| 56 | struct NSAPaddr nsap; |
| 57 | } taddr; |
| 58 | } u; |
| 59 | }; |
| 60 | |
| 61 | int TManGen (); |