Used by the x25_reset and x25_receive subroutines to pass the reset cause and diagnostic codes.
#define X25FLG_CAUSE 0x00000001 #define X25FLG_DIAGNOSTIC 0x00000002
struct cb_res_struct
{
unsigned long flags;
unsigned char cause;
unsigned char diagnostic;
};
| X25_FLG_CAUSE | Indicates that the cause field is used. |
| X25_FLG_DIAGNOSTIC | Indicates that the diagnostic field is used. |
Structure field definitions are
as follows:
The x25sdefs.h file.