#include <wanpipe_api_legacy.h>
Public Attributes | |
union { | |
struct { | |
unsigned char opp_flag | |
unsigned char command | |
unsigned short data_len | |
unsigned char return_code | |
union { | |
struct { | |
unsigned char PF_bit | |
} hdlc | |
struct { | |
unsigned short dlci | |
unsigned char attr | |
unsigned short rxlost1 | |
u_int32_t rxlost2 | |
} fr | |
struct { | |
unsigned char pf | |
unsigned short lcn | |
unsigned char qdm | |
unsigned char cause | |
unsigned char diagn | |
unsigned char pktType | |
} x25 | |
struct { | |
unsigned char misc_Tx_Rx_bits | |
unsigned char Rx_error_bits | |
unsigned short Rx_time_stamp | |
unsigned char port | |
} bscstrm | |
struct { | |
unsigned char misc_tx_rx_bits | |
unsigned short heading_length | |
unsigned short notify | |
unsigned char station | |
unsigned char poll_address | |
unsigned char select_address | |
unsigned char device_address | |
unsigned char notify_extended | |
} bsc | |
struct { | |
unsigned char sdlc_address | |
unsigned char PF_bit | |
unsigned short poll_interval | |
unsigned char general_mailbox_byte | |
} sdlc | |
struct { | |
unsigned char force | |
} fe | |
} wan_protocol | |
} wan_p_cmd | |
struct { | |
unsigned char opp_flag | |
unsigned char pos_state | |
unsigned char async_state | |
} wan_pos_cmd | |
unsigned char mbox [WAN_MAILBOX_SIZE] | |
} | wan_cmd_u |
This structure is used as part of the wan_udp_hdr_t strcutre. Its used to hold the command and return return_code
Definition at line 150 of file wanpipe_api_legacy.h.
unsigned char wan_cmd::opp_flag |
Used by legacy S514 cards as cmd complete flag
Definition at line 153 of file wanpipe_api_legacy.h.
unsigned char wan_cmd::command |
Wanpipemon Command: enum WANPIPE_IOCTL_PIPEMON_CMDS
Definition at line 154 of file wanpipe_api_legacy.h.
unsigned short wan_cmd::data_len |
Length of the data/result buffer
Definition at line 155 of file wanpipe_api_legacy.h.
unsigned char wan_cmd::return_code |
Result 0=OK otherwise Error
Definition at line 156 of file wanpipe_api_legacy.h.