
isdnio(7I) Ioctl Requests SunOS 5.5
unsigned int mph_ei2; /∗ Management: Error 2 Indication ∗/
unsigned int mph_ii_c; /∗ Management: Info Ind, connection ∗/
unsigned int mph_ii_d; /∗ Management: Info Ind, disconn. ∗/
} isdn_interface_info_t;
ISDN_CHANNEL_STATUS
The ISDN_CHANNEL_STATUS ioctl retrieves the status and statistics of an ISDN
channel. The requesting channelmust own the channel whose status is being
requested or the ioctl will fail. fd is any file descriptor. arg is a pointer to a struct
isdn_channel_info. If the interface field is set toISDN_CHAN_SELF, it will be
changed in the returned structure to reflect the proper device-specific channel of
the requesting fd .
typedef struct isdn_channel_info {
isdn_chan_t channel;
enum isdn_iostate iostate;
struct isdn_io_stats {
ulong_t packets; /∗ packets transmitted or received ∗/
ulong_t octets; /∗ octets transmitted or received ∗/
ulong_t errors; /∗ errors packets transmitted or received ∗/
} transmit, receive;
} isdn_channel_info_t;
ISDN_SET_PARAM
fd is the file descriptor for a management device. arg is a pointer to a struct
isdn_param. This command allows the setting of various ISDN physical layer
parameters such as timers. This command uses the same arguments as the
ISDN_GET_PARAM command.
ISDN_GET_PARAM
fd is the file descriptor for a management device. arg is a pointer to a struct
isdn_param This command provides for querying the value of a particular ISDN
physical layer parameter.
typedef enum {
ISDN_PARAM_NONE = 0,
ISDN_PARAM_NT_T101, /∗ NT Timer, 5-30 s, in milliseconds ∗/
ISDN_PARAM_NT_T102, /∗ NT Timer, 25-100 ms, in milliseconds ∗/
ISDN_PARAM_TE_T103, /∗ TE Timer, 5-30 s, in milliseconds ∗/
ISDN_PARAM_TE_T104, /∗ TE Timer, 500-1000 ms, in milliseconds ∗/
ISDN_PARAM_MAINT, /∗ Manage the TE Maintenance Channel ∗/
ISDN_PARAM_ASMB, /∗ Modify Activation State Machine ∗/
/∗ Behavior ∗/
ISDN_PARAM_POWER, /∗ Take the interface online or offline ∗/
ISDN_PARAM_PAUSE, /∗ Paused if == 1, else not paused == 0 ∗/
} isdn_param_tag_t;
enum isdn_param_asmb {
ISDN_PARAM_TE_ASMB_CCITT88, /∗ 1988 bluebook ∗/
ISDN_PARAM_TE_ASMB_CTS2, /∗ Conformance Test Suite 2 ∗/
};
7I-158 modified 7 Apr 1994
Kommentare zu diesen Handbüchern