Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
qeth_core_mpc.h File Reference
#include <asm/qeth.h>

Go to the source code of this file.

Data Structures

struct  qeth_ipacmd_setdelip4
 
struct  qeth_ipacmd_setdelip6
 
struct  qeth_ipacmd_setdelipm
 
struct  qeth_ipacmd_layer2setdelmac
 
struct  qeth_ipacmd_layer2setdelvlan
 
struct  qeth_ipacmd_setassparms_hdr
 
struct  qeth_arp_query_data
 
struct  qeth_arp_query_info
 
struct  qeth_ipacmd_setassparms
 
struct  qeth_set_routing
 
struct  qeth_query_cmds_supp
 
struct  qeth_change_addr
 
struct  qeth_snmp_cmd
 
struct  qeth_snmp_ureq_hdr
 
struct  qeth_snmp_ureq
 
struct  qeth_set_access_ctrl
 
struct  qeth_query_oat
 
struct  qeth_qoat_priv
 
struct  qeth_ipacmd_setadpparms_hdr
 
struct  qeth_ipacmd_setadpparms
 
struct  qeth_create_destroy_address
 
struct  qeth_ipacmd_diagass
 
struct  qeth_ipacmd_hdr
 
struct  qeth_ipa_cmd
 

Macros

#define IPA_PDU_HEADER_SIZE   0x40
 
#define QETH_IPA_PDU_LEN_TOTAL(buffer)   (buffer + 0x0e)
 
#define QETH_IPA_PDU_LEN_PDU1(buffer)   (buffer + 0x26)
 
#define QETH_IPA_PDU_LEN_PDU2(buffer)   (buffer + 0x29)
 
#define QETH_IPA_PDU_LEN_PDU3(buffer)   (buffer + 0x3a)
 
#define QETH_IPA_CMD_DEST_ADDR(buffer)   (buffer + 0x2c)
 
#define IPA_CMD_LENGTH   (IPA_PDU_HEADER_SIZE + sizeof(struct qeth_ipa_cmd))
 
#define QETH_SEQ_NO_LENGTH   4
 
#define QETH_MPC_TOKEN_LENGTH   4
 
#define QETH_MCL_LENGTH   4
 
#define OSA_ADDR_LEN   6
 
#define QETH_TIMEOUT   (10 * HZ)
 
#define QETH_IPA_TIMEOUT   (45 * HZ)
 
#define QETH_IDX_COMMAND_SEQNO   0xffff0000
 
#define SR_INFO_LEN   16
 
#define QETH_CLEAR_CHANNEL_PARM   -10
 
#define QETH_HALT_CHANNEL_PARM   -11
 
#define QETH_RCD_PARM   -12
 
#define IPA_CMD_INITIATOR_HOST   0x00
 
#define IPA_CMD_INITIATOR_OSA   0x01
 
#define IPA_CMD_INITIATOR_HOST_REPLY   0x80
 
#define IPA_CMD_INITIATOR_OSA_REPLY   0x81
 
#define IPA_CMD_PRIM_VERSION_NO   0x01
 
#define QETH_MPC_DIFINFO_LEN_INDICATES_LINK_TYPE   0x18
 
#define RESET_ROUTING_FLAG   0x10 /* indicate that routing type shall be set */
 
#define IPA_RC_IP_ADDRESS_NOT_DEFINED   IPA_RC_PRIMARY_ALREADY_DEFINED
 
#define IPA_RC_INVALID_SUBCMD   IPA_RC_IP_TABLE_FULL
 
#define IPA_RC_HARDWARE_AUTH_ERROR   IPA_RC_UNKNOWN_ERROR
 
#define QETH_SETASS_BASE_LEN
 
#define QETH_IPA_ARP_DATA_POS(buffer)
 
#define QETH_SETADP_BASE_LEN
 
#define QETH_SNMP_SETADP_CMDLENGTH   16
 
#define QETH_ARP_DATA_SIZE   3968
 
#define QETH_ARP_CMD_LEN   (QETH_ARP_DATA_SIZE + 8)
 
#define IS_IPA_REPLY(cmd)
 
#define CM_ENABLE_SIZE   0x63
 
#define QETH_CM_ENABLE_ISSUER_RM_TOKEN(buffer)   (buffer + 0x2c)
 
#define QETH_CM_ENABLE_FILTER_TOKEN(buffer)   (buffer + 0x53)
 
#define QETH_CM_ENABLE_USER_DATA(buffer)   (buffer + 0x5b)
 
#define QETH_CM_ENABLE_RESP_FILTER_TOKEN(buffer)   (PDU_ENCAPSULATION(buffer) + 0x13)
 
#define CM_SETUP_SIZE   0x64
 
#define QETH_CM_SETUP_DEST_ADDR(buffer)   (buffer + 0x2c)
 
#define QETH_CM_SETUP_CONNECTION_TOKEN(buffer)   (buffer + 0x51)
 
#define QETH_CM_SETUP_FILTER_TOKEN(buffer)   (buffer + 0x5a)
 
#define QETH_CM_SETUP_RESP_DEST_ADDR(buffer)   (PDU_ENCAPSULATION(buffer) + 0x1a)
 
#define ULP_ENABLE_SIZE   0x6b
 
#define QETH_ULP_ENABLE_LINKNUM(buffer)   (buffer + 0x61)
 
#define QETH_ULP_ENABLE_DEST_ADDR(buffer)   (buffer + 0x2c)
 
#define QETH_ULP_ENABLE_FILTER_TOKEN(buffer)   (buffer + 0x53)
 
#define QETH_ULP_ENABLE_PORTNAME_AND_LL(buffer)   (buffer + 0x62)
 
#define QETH_ULP_ENABLE_RESP_FILTER_TOKEN(buffer)   (PDU_ENCAPSULATION(buffer) + 0x13)
 
#define QETH_ULP_ENABLE_RESP_MAX_MTU(buffer)   (PDU_ENCAPSULATION(buffer) + 0x1f)
 
#define QETH_ULP_ENABLE_RESP_DIFINFO_LEN(buffer)   (PDU_ENCAPSULATION(buffer) + 0x17)
 
#define QETH_ULP_ENABLE_RESP_LINK_TYPE(buffer)   (PDU_ENCAPSULATION(buffer) + 0x2b)
 
#define QETH_PROT_LAYER2   0x08
 
#define QETH_PROT_TCPIP   0x03
 
#define QETH_PROT_OSN2   0x0a
 
#define QETH_ULP_ENABLE_PROT_TYPE(buffer)   (buffer + 0x50)
 
#define QETH_IPA_CMD_PROT_TYPE(buffer)   (buffer + 0x19)
 
#define ULP_SETUP_SIZE   0x6c
 
#define QETH_ULP_SETUP_DEST_ADDR(buffer)   (buffer + 0x2c)
 
#define QETH_ULP_SETUP_CONNECTION_TOKEN(buffer)   (buffer + 0x51)
 
#define QETH_ULP_SETUP_FILTER_TOKEN(buffer)   (buffer + 0x5a)
 
#define QETH_ULP_SETUP_CUA(buffer)   (buffer + 0x68)
 
#define QETH_ULP_SETUP_REAL_DEVADDR(buffer)   (buffer + 0x6a)
 
#define QETH_ULP_SETUP_RESP_CONNECTION_TOKEN(buffer)   (PDU_ENCAPSULATION(buffer) + 0x1a)
 
#define DM_ACT_SIZE   0x55
 
#define QETH_DM_ACT_DEST_ADDR(buffer)   (buffer + 0x2c)
 
#define QETH_DM_ACT_CONNECTION_TOKEN(buffer)   (buffer + 0x51)
 
#define QETH_TRANSPORT_HEADER_SEQ_NO(buffer)   (buffer + 4)
 
#define QETH_PDU_HEADER_SEQ_NO(buffer)   (buffer + 0x1c)
 
#define QETH_PDU_HEADER_ACK_SEQ_NO(buffer)   (buffer + 0x20)
 
#define IDX_ACTIVATE_SIZE   0x22
 
#define QETH_IDX_ACT_PNO(buffer)   (buffer+0x0b)
 
#define QETH_IDX_ACT_ISSUER_RM_TOKEN(buffer)   (buffer + 0x0c)
 
#define QETH_IDX_NO_PORTNAME_REQUIRED(buffer)   ((buffer)[0x0b] & 0x80)
 
#define QETH_IDX_ACT_FUNC_LEVEL(buffer)   (buffer + 0x10)
 
#define QETH_IDX_ACT_DATASET_NAME(buffer)   (buffer + 0x16)
 
#define QETH_IDX_ACT_QDIO_DEV_CUA(buffer)   (buffer + 0x1e)
 
#define QETH_IDX_ACT_QDIO_DEV_REALADDR(buffer)   (buffer + 0x20)
 
#define QETH_IS_IDX_ACT_POS_REPLY(buffer)   (((buffer)[0x08] & 3) == 2)
 
#define QETH_IDX_REPLY_LEVEL(buffer)   (buffer + 0x12)
 
#define QETH_IDX_ACT_CAUSE_CODE(buffer)   (buffer)[0x09]
 
#define QETH_IDX_ACT_ERR_EXCL   0x19
 
#define QETH_IDX_ACT_ERR_AUTH   0x1E
 
#define QETH_IDX_ACT_ERR_AUTH_USER   0x20
 
#define PDU_ENCAPSULATION(buffer)
 
#define IS_IPA(buffer)
 
#define ADDR_FRAME_TYPE_DIX   1
 
#define ADDR_FRAME_TYPE_802_3   2
 
#define ADDR_FRAME_TYPE_TR_WITHOUT_SR   0x10
 
#define ADDR_FRAME_TYPE_TR_WITH_SR   0x20
 

Enumerations

enum  qeth_card_types {
  QETH_CARD_TYPE_UNKNOWN = 0, QETH_CARD_TYPE_OSD = 1, QETH_CARD_TYPE_IQD = 5, QETH_CARD_TYPE_OSN = 6,
  QETH_CARD_TYPE_OSM = 3, QETH_CARD_TYPE_OSX = 2
}
 
enum  qeth_link_types {
  QETH_LINK_TYPE_FAST_ETH = 0x01, QETH_LINK_TYPE_HSTR = 0x02, QETH_LINK_TYPE_GBIT_ETH = 0x03, QETH_LINK_TYPE_OSN = 0x04,
  QETH_LINK_TYPE_10GBIT_ETH = 0x10, QETH_LINK_TYPE_LANE_ETH100 = 0x81, QETH_LINK_TYPE_LANE_TR = 0x82, QETH_LINK_TYPE_LANE_ETH1000 = 0x83,
  QETH_LINK_TYPE_LANE = 0x88, QETH_LINK_TYPE_ATM_NATIVE = 0x90
}
 
enum  qeth_routing_types {
  NO_ROUTER = 0, PRIMARY_ROUTER = 1, SECONDARY_ROUTER = 2, MULTICAST_ROUTER = 3,
  PRIMARY_CONNECTOR = 4, SECONDARY_CONNECTOR = 5
}
 
enum  qeth_ipa_cmds {
  IPA_CMD_STARTLAN = 0x01, IPA_CMD_STOPLAN = 0x02, IPA_CMD_SETVMAC = 0x21, IPA_CMD_DELVMAC = 0x22,
  IPA_CMD_SETGMAC = 0x23, IPA_CMD_DELGMAC = 0x24, IPA_CMD_SETVLAN = 0x25, IPA_CMD_DELVLAN = 0x26,
  IPA_CMD_SETCCID = 0x41, IPA_CMD_DELCCID = 0x42, IPA_CMD_MODCCID = 0x43, IPA_CMD_SETIP = 0xb1,
  IPA_CMD_QIPASSIST = 0xb2, IPA_CMD_SETASSPARMS = 0xb3, IPA_CMD_SETIPM = 0xb4, IPA_CMD_DELIPM = 0xb5,
  IPA_CMD_SETRTG = 0xb6, IPA_CMD_DELIP = 0xb7, IPA_CMD_SETADAPTERPARMS = 0xb8, IPA_CMD_SET_DIAG_ASS = 0xb9,
  IPA_CMD_CREATE_ADDR = 0xc3, IPA_CMD_DESTROY_ADDR = 0xc4, IPA_CMD_REGISTER_LOCAL_ADDR = 0xd1, IPA_CMD_UNREGISTER_LOCAL_ADDR = 0xd2,
  IPA_CMD_UNKNOWN = 0x00
}
 
enum  qeth_ip_ass_cmds { IPA_CMD_ASS_START = 0x0001, IPA_CMD_ASS_STOP = 0x0002, IPA_CMD_ASS_CONFIGURE = 0x0003, IPA_CMD_ASS_ENABLE = 0x0004 }
 
enum  qeth_arp_process_subcmds {
  IPA_CMD_ASS_ARP_SET_NO_ENTRIES = 0x0003, IPA_CMD_ASS_ARP_QUERY_CACHE = 0x0004, IPA_CMD_ASS_ARP_ADD_ENTRY = 0x0005, IPA_CMD_ASS_ARP_REMOVE_ENTRY = 0x0006,
  IPA_CMD_ASS_ARP_FLUSH_CACHE = 0x0007, IPA_CMD_ASS_ARP_QUERY_INFO = 0x0104, IPA_CMD_ASS_ARP_QUERY_STATS = 0x0204
}
 
enum  qeth_ipa_return_codes {
  IPA_RC_SUCCESS = 0x0000, IPA_RC_NOTSUPP = 0x0001, IPA_RC_IP_TABLE_FULL = 0x0002, IPA_RC_UNKNOWN_ERROR = 0x0003,
  IPA_RC_UNSUPPORTED_COMMAND = 0x0004, IPA_RC_TRACE_ALREADY_ACTIVE = 0x0005, IPA_RC_INVALID_FORMAT = 0x0006, IPA_RC_DUP_IPV6_REMOTE = 0x0008,
  IPA_RC_DUP_IPV6_HOME = 0x0010, IPA_RC_UNREGISTERED_ADDR = 0x0011, IPA_RC_NO_ID_AVAILABLE = 0x0012, IPA_RC_ID_NOT_FOUND = 0x0013,
  IPA_RC_INVALID_IP_VERSION = 0x0020, IPA_RC_LAN_FRAME_MISMATCH = 0x0040, IPA_RC_L2_UNSUPPORTED_CMD = 0x2003, IPA_RC_L2_DUP_MAC = 0x2005,
  IPA_RC_L2_ADDR_TABLE_FULL = 0x2006, IPA_RC_L2_DUP_LAYER3_MAC = 0x200a, IPA_RC_L2_GMAC_NOT_FOUND = 0x200b, IPA_RC_L2_MAC_NOT_AUTH_BY_HYP = 0x200c,
  IPA_RC_L2_MAC_NOT_AUTH_BY_ADP = 0x200d, IPA_RC_L2_MAC_NOT_FOUND = 0x2010, IPA_RC_L2_INVALID_VLAN_ID = 0x2015, IPA_RC_L2_DUP_VLAN_ID = 0x2016,
  IPA_RC_L2_VLAN_ID_NOT_FOUND = 0x2017, IPA_RC_DATA_MISMATCH = 0xe001, IPA_RC_INVALID_MTU_SIZE = 0xe002, IPA_RC_INVALID_LANTYPE = 0xe003,
  IPA_RC_INVALID_LANNUM = 0xe004, IPA_RC_DUPLICATE_IP_ADDRESS = 0xe005, IPA_RC_IP_ADDR_TABLE_FULL = 0xe006, IPA_RC_LAN_PORT_STATE_ERROR = 0xe007,
  IPA_RC_SETIP_NO_STARTLAN = 0xe008, IPA_RC_SETIP_ALREADY_RECEIVED = 0xe009, IPA_RC_IP_ADDR_ALREADY_USED = 0xe00a, IPA_RC_MC_ADDR_NOT_FOUND = 0xe00b,
  IPA_RC_SETIP_INVALID_VERSION = 0xe00d, IPA_RC_UNSUPPORTED_SUBCMD = 0xe00e, IPA_RC_ARP_ASSIST_NO_ENABLE = 0xe00f, IPA_RC_PRIMARY_ALREADY_DEFINED = 0xe010,
  IPA_RC_SECOND_ALREADY_DEFINED = 0xe011, IPA_RC_INVALID_SETRTG_INDICATOR = 0xe012, IPA_RC_MC_ADDR_ALREADY_DEFINED = 0xe013, IPA_RC_LAN_OFFLINE = 0xe080,
  IPA_RC_INVALID_IP_VERSION2 = 0xf001, IPA_RC_ENOMEM = 0xfffe, IPA_RC_FFFF = 0xffff
}
 
enum  qeth_ipa_funcs {
  IPA_ARP_PROCESSING = 0x00000001L, IPA_INBOUND_CHECKSUM = 0x00000002L, IPA_OUTBOUND_CHECKSUM = 0x00000004L, IPA_IP_FRAGMENTATION = 0x00000008L,
  IPA_FILTERING = 0x00000010L, IPA_IPV6 = 0x00000020L, IPA_MULTICASTING = 0x00000040L, IPA_IP_REASSEMBLY = 0x00000080L,
  IPA_QUERY_ARP_COUNTERS = 0x00000100L, IPA_QUERY_ARP_ADDR_INFO = 0x00000200L, IPA_SETADAPTERPARMS = 0x00000400L, IPA_VLAN_PRIO = 0x00000800L,
  IPA_PASSTHRU = 0x00001000L, IPA_FLUSH_ARP_SUPPORT = 0x00002000L, IPA_FULL_VLAN = 0x00004000L, IPA_INBOUND_PASSTHRU = 0x00008000L,
  IPA_SOURCE_MAC = 0x00010000L, IPA_OSA_MC_ROUTER = 0x00020000L, IPA_QUERY_ARP_ASSIST = 0x00040000L, IPA_INBOUND_TSO = 0x00080000L,
  IPA_OUTBOUND_TSO = 0x00100000L
}
 
enum  qeth_ipa_setdelip_flags {
  QETH_IPA_SETDELIP_DEFAULT = 0x00L, QETH_IPA_SETIP_VIPA_FLAG = 0x01L, QETH_IPA_SETIP_TAKEOVER_FLAG = 0x02L, QETH_IPA_DELIP_ADDR_2_B_TAKEN_OVER = 0x20L,
  QETH_IPA_DELIP_VIPA_FLAG = 0x40L, QETH_IPA_DELIP_ADDR_NEEDS_SETIP = 0x80L
}
 
enum  qeth_ipa_setadp_cmd {
  IPA_SETADP_QUERY_COMMANDS_SUPPORTED = 0x00000001L, IPA_SETADP_ALTER_MAC_ADDRESS = 0x00000002L, IPA_SETADP_ADD_DELETE_GROUP_ADDRESS = 0x00000004L, IPA_SETADP_ADD_DELETE_FUNCTIONAL_ADDR = 0x00000008L,
  IPA_SETADP_SET_ADDRESSING_MODE = 0x00000010L, IPA_SETADP_SET_CONFIG_PARMS = 0x00000020L, IPA_SETADP_SET_CONFIG_PARMS_EXTENDED = 0x00000040L, IPA_SETADP_SET_BROADCAST_MODE = 0x00000080L,
  IPA_SETADP_SEND_OSA_MESSAGE = 0x00000100L, IPA_SETADP_SET_SNMP_CONTROL = 0x00000200L, IPA_SETADP_QUERY_CARD_INFO = 0x00000400L, IPA_SETADP_SET_PROMISC_MODE = 0x00000800L,
  IPA_SETADP_SET_DIAG_ASSIST = 0x00002000L, IPA_SETADP_SET_ACCESS_CONTROL = 0x00010000L, IPA_SETADP_QUERY_OAT = 0x00080000L
}
 
enum  qeth_ipa_mac_ops {
  CHANGE_ADDR_READ_MAC = 0, CHANGE_ADDR_REPLACE_MAC = 1, CHANGE_ADDR_ADD_MAC = 2, CHANGE_ADDR_DEL_MAC = 4,
  CHANGE_ADDR_RESET_MAC = 8
}
 
enum  qeth_ipa_addr_ops { CHANGE_ADDR_READ_ADDR = 0, CHANGE_ADDR_ADD_ADDR = 1, CHANGE_ADDR_DEL_ADDR = 2, CHANGE_ADDR_FLUSH_ADDR_TABLE = 4 }
 
enum  qeth_ipa_promisc_modes { SET_PROMISC_MODE_OFF = 0, SET_PROMISC_MODE_ON = 1 }
 
enum  qeth_ipa_isolation_modes { ISOLATION_MODE_NONE = 0x00000000L, ISOLATION_MODE_FWD = 0x00000001L, ISOLATION_MODE_DROP = 0x00000002L }
 
enum  qeth_ipa_set_access_mode_rc {
  SET_ACCESS_CTRL_RC_SUCCESS = 0x0000, SET_ACCESS_CTRL_RC_NOT_SUPPORTED = 0x0004, SET_ACCESS_CTRL_RC_ALREADY_NOT_ISOLATED = 0x0008, SET_ACCESS_CTRL_RC_ALREADY_ISOLATED = 0x0010,
  SET_ACCESS_CTRL_RC_NONE_SHARED_ADAPTER = 0x0014, SET_ACCESS_CTRL_RC_ACTIVE_CHECKSUM_OFF = 0x0018
}
 
enum  qeth_diags_cmds {
  QETH_DIAGS_CMD_QUERY = 0x0001, QETH_DIAGS_CMD_TRAP = 0x0002, QETH_DIAGS_CMD_TRACE = 0x0004, QETH_DIAGS_CMD_NOLOG = 0x0008,
  QETH_DIAGS_CMD_DUMP = 0x0010
}
 
enum  qeth_diags_trace_types { QETH_DIAGS_TYPE_HIPERSOCKET = 0x02 }
 
enum  qeth_diags_trace_cmds {
  QETH_DIAGS_CMD_TRACE_ENABLE = 0x0001, QETH_DIAGS_CMD_TRACE_DISABLE = 0x0002, QETH_DIAGS_CMD_TRACE_MODIFY = 0x0004, QETH_DIAGS_CMD_TRACE_REPLACE = 0x0008,
  QETH_DIAGS_CMD_TRACE_QUERY = 0x0010
}
 
enum  qeth_diags_trap_action { QETH_DIAGS_TRAP_ARM = 0x01, QETH_DIAGS_TRAP_DISARM = 0x02, QETH_DIAGS_TRAP_CAPTURE = 0x04 }
 
enum  qeth_ipa_arp_return_codes {
  QETH_IPA_ARP_RC_SUCCESS = 0x0000, QETH_IPA_ARP_RC_FAILED = 0x0001, QETH_IPA_ARP_RC_NOTSUPP = 0x0002, QETH_IPA_ARP_RC_OUT_OF_RANGE = 0x0003,
  QETH_IPA_ARP_RC_Q_NOTSUPP = 0x0004, QETH_IPA_ARP_RC_Q_NO_DATA = 0x0008
}
 

Functions

struct qeth_ipacmd_setdelip4 __attribute__ ((packed))
 
charqeth_get_ipa_msg (enum qeth_ipa_return_codes rc)
 
charqeth_get_ipa_cmd_name (enum qeth_ipa_cmds cmd)
 

Variables

unsigned char IPA_PDU_HEADER []
 
__u8 ip_addr [4]
 
__u8 mask [4]
 
__u32 flags
 
__u8 mac [6]
 
__u8 padding [2]
 
__u8 ip6 [12]
 
__u8 ip4 [4]
 
__u32 mac_length
 
__u16 vlan_id
 
__u32 assist_no
 
__u16 length
 
__u16 command_code
 
__u16 return_code
 
__u8 number_of_replies
 
__u8 seq_no
 
__u16 request_bits
 
__u16 reply_bits
 
__u32 no_entries
 
char data
 
struct qeth_arp_query_info __attribute__
 
struct qeth_ipacmd_setassparms_hdr hdr
 
__u32 no_lantypes_supp
 
__u8 lan_type
 
__u8 reserved1 [3]
 
__u32 supported_cmds
 
__u8 reserved2 [8]
 
__u32 cmd
 
__u32 addr_size
 
__u32 no_macs
 
__u8 addr [OSA_ADDR_LEN]
 
__u8 token [16]
 
__u32 request
 
__u32 interface
 
__u32 returncode
 
__u32 firmwarelevel
 
__u32 seqno
 
__u32 data_len
 
__u32 req_len
 
__u32 subcmd_code
 
struct qeth_query_oat __packed
 
__u32 supp_hw_cmds
 
__u16 cmdlength
 
__u8 used_total
 
__u32 reserved3
 
__u8 unique_id [8]
 
__u32 host_tod2
 
__u32 __pad0__
 
__u16 subcmd_len
 
__u16 __pad1__
 
__u32 subcmd
 
__u8 type
 
__u8 action
 
__u16 options
 
__u32 ext
 
__u8 cdata [64]
 
__u8 command
 
__u8 initiator
 
__u8 adapter_type
 
__u8 rel_adapter_no
 
__u8 prim_version_no
 
__u8 param_count
 
__u16 prot_version
 
__u32 ipa_supported
 
__u32 ipa_enabled
 
unsigned char WRITE_CCW []
 
unsigned char READ_CCW []
 
unsigned char CM_ENABLE []
 
unsigned char CM_SETUP []
 
unsigned char ULP_ENABLE []
 
unsigned char ULP_SETUP []
 
unsigned char DM_ACT []
 
unsigned char IDX_ACTIVATE_READ []
 
unsigned char IDX_ACTIVATE_WRITE []
 

Macro Definition Documentation

#define ADDR_FRAME_TYPE_802_3   2

Definition at line 633 of file qeth_core_mpc.h.

#define ADDR_FRAME_TYPE_DIX   1

Definition at line 632 of file qeth_core_mpc.h.

#define ADDR_FRAME_TYPE_TR_WITH_SR   0x20

Definition at line 635 of file qeth_core_mpc.h.

#define ADDR_FRAME_TYPE_TR_WITHOUT_SR   0x10

Definition at line 634 of file qeth_core_mpc.h.

#define CM_ENABLE_SIZE   0x63

Definition at line 544 of file qeth_core_mpc.h.

#define CM_SETUP_SIZE   0x64

Definition at line 554 of file qeth_core_mpc.h.

#define DM_ACT_SIZE   0x55

Definition at line 596 of file qeth_core_mpc.h.

#define IDX_ACTIVATE_SIZE   0x22

Definition at line 609 of file qeth_core_mpc.h.

#define IPA_CMD_INITIATOR_HOST   0x00

Definition at line 41 of file qeth_core_mpc.h.

#define IPA_CMD_INITIATOR_HOST_REPLY   0x80

Definition at line 43 of file qeth_core_mpc.h.

#define IPA_CMD_INITIATOR_OSA   0x01

Definition at line 42 of file qeth_core_mpc.h.

#define IPA_CMD_INITIATOR_OSA_REPLY   0x81

Definition at line 44 of file qeth_core_mpc.h.

#define IPA_CMD_LENGTH   (IPA_PDU_HEADER_SIZE + sizeof(struct qeth_ipa_cmd))

Definition at line 22 of file qeth_core_mpc.h.

#define IPA_CMD_PRIM_VERSION_NO   0x01

Definition at line 45 of file qeth_core_mpc.h.

#define IPA_PDU_HEADER_SIZE   0x40

Definition at line 13 of file qeth_core_mpc.h.

#define IPA_RC_HARDWARE_AUTH_ERROR   IPA_RC_UNKNOWN_ERROR

Definition at line 188 of file qeth_core_mpc.h.

#define IPA_RC_INVALID_SUBCMD   IPA_RC_IP_TABLE_FULL

Definition at line 187 of file qeth_core_mpc.h.

#define IPA_RC_IP_ADDRESS_NOT_DEFINED   IPA_RC_PRIMARY_ALREADY_DEFINED

Definition at line 185 of file qeth_core_mpc.h.

#define IS_IPA (   buffer)
Value:
((buffer) && \
(*(buffer + ((*(buffer + 0x0b)) + 4)) == 0xc1))

Definition at line 628 of file qeth_core_mpc.h.

#define IS_IPA_REPLY (   cmd)
Value:
((cmd->hdr.initiator == IPA_CMD_INITIATOR_HOST) || \
(cmd->hdr.initiator == IPA_CMD_INITIATOR_OSA_REPLY))

Definition at line 532 of file qeth_core_mpc.h.

#define OSA_ADDR_LEN   6

Definition at line 27 of file qeth_core_mpc.h.

#define PDU_ENCAPSULATION (   buffer)
Value:
(buffer + *(buffer + (*(buffer + 0x0b)) + \
*(buffer + *(buffer + 0x0b) + 0x11) + 0x07))

Definition at line 624 of file qeth_core_mpc.h.

#define QETH_ARP_CMD_LEN   (QETH_ARP_DATA_SIZE + 8)

Definition at line 530 of file qeth_core_mpc.h.

#define QETH_ARP_DATA_SIZE   3968

Definition at line 529 of file qeth_core_mpc.h.

#define QETH_CLEAR_CHANNEL_PARM   -10

Definition at line 34 of file qeth_core_mpc.h.

#define QETH_CM_ENABLE_FILTER_TOKEN (   buffer)    (buffer + 0x53)

Definition at line 546 of file qeth_core_mpc.h.

#define QETH_CM_ENABLE_ISSUER_RM_TOKEN (   buffer)    (buffer + 0x2c)

Definition at line 545 of file qeth_core_mpc.h.

#define QETH_CM_ENABLE_RESP_FILTER_TOKEN (   buffer)    (PDU_ENCAPSULATION(buffer) + 0x13)

Definition at line 549 of file qeth_core_mpc.h.

#define QETH_CM_ENABLE_USER_DATA (   buffer)    (buffer + 0x5b)

Definition at line 547 of file qeth_core_mpc.h.

#define QETH_CM_SETUP_CONNECTION_TOKEN (   buffer)    (buffer + 0x51)

Definition at line 556 of file qeth_core_mpc.h.

#define QETH_CM_SETUP_DEST_ADDR (   buffer)    (buffer + 0x2c)

Definition at line 555 of file qeth_core_mpc.h.

#define QETH_CM_SETUP_FILTER_TOKEN (   buffer)    (buffer + 0x5a)

Definition at line 557 of file qeth_core_mpc.h.

#define QETH_CM_SETUP_RESP_DEST_ADDR (   buffer)    (PDU_ENCAPSULATION(buffer) + 0x1a)

Definition at line 559 of file qeth_core_mpc.h.

#define QETH_DM_ACT_CONNECTION_TOKEN (   buffer)    (buffer + 0x51)

Definition at line 598 of file qeth_core_mpc.h.

#define QETH_DM_ACT_DEST_ADDR (   buffer)    (buffer + 0x2c)

Definition at line 597 of file qeth_core_mpc.h.

#define QETH_HALT_CHANNEL_PARM   -11

Definition at line 35 of file qeth_core_mpc.h.

#define QETH_IDX_ACT_CAUSE_CODE (   buffer)    (buffer)[0x09]

Definition at line 619 of file qeth_core_mpc.h.

#define QETH_IDX_ACT_DATASET_NAME (   buffer)    (buffer + 0x16)

Definition at line 614 of file qeth_core_mpc.h.

#define QETH_IDX_ACT_ERR_AUTH   0x1E

Definition at line 621 of file qeth_core_mpc.h.

#define QETH_IDX_ACT_ERR_AUTH_USER   0x20

Definition at line 622 of file qeth_core_mpc.h.

#define QETH_IDX_ACT_ERR_EXCL   0x19

Definition at line 620 of file qeth_core_mpc.h.

#define QETH_IDX_ACT_FUNC_LEVEL (   buffer)    (buffer + 0x10)

Definition at line 613 of file qeth_core_mpc.h.

#define QETH_IDX_ACT_ISSUER_RM_TOKEN (   buffer)    (buffer + 0x0c)

Definition at line 611 of file qeth_core_mpc.h.

#define QETH_IDX_ACT_PNO (   buffer)    (buffer+0x0b)

Definition at line 610 of file qeth_core_mpc.h.

#define QETH_IDX_ACT_QDIO_DEV_CUA (   buffer)    (buffer + 0x1e)

Definition at line 615 of file qeth_core_mpc.h.

#define QETH_IDX_ACT_QDIO_DEV_REALADDR (   buffer)    (buffer + 0x20)

Definition at line 616 of file qeth_core_mpc.h.

#define QETH_IDX_COMMAND_SEQNO   0xffff0000

Definition at line 31 of file qeth_core_mpc.h.

#define QETH_IDX_NO_PORTNAME_REQUIRED (   buffer)    ((buffer)[0x0b] & 0x80)

Definition at line 612 of file qeth_core_mpc.h.

#define QETH_IDX_REPLY_LEVEL (   buffer)    (buffer + 0x12)

Definition at line 618 of file qeth_core_mpc.h.

#define QETH_IPA_ARP_DATA_POS (   buffer)
Value:
QETH_SETASS_BASE_LEN)

Definition at line 523 of file qeth_core_mpc.h.

#define QETH_IPA_CMD_DEST_ADDR (   buffer)    (buffer + 0x2c)

Definition at line 20 of file qeth_core_mpc.h.

#define QETH_IPA_CMD_PROT_TYPE (   buffer)    (buffer + 0x19)

Definition at line 581 of file qeth_core_mpc.h.

#define QETH_IPA_PDU_LEN_PDU1 (   buffer)    (buffer + 0x26)

Definition at line 15 of file qeth_core_mpc.h.

#define QETH_IPA_PDU_LEN_PDU2 (   buffer)    (buffer + 0x29)

Definition at line 16 of file qeth_core_mpc.h.

#define QETH_IPA_PDU_LEN_PDU3 (   buffer)    (buffer + 0x3a)

Definition at line 17 of file qeth_core_mpc.h.

#define QETH_IPA_PDU_LEN_TOTAL (   buffer)    (buffer + 0x0e)

Definition at line 14 of file qeth_core_mpc.h.

#define QETH_IPA_TIMEOUT   (45 * HZ)

Definition at line 30 of file qeth_core_mpc.h.

#define QETH_IS_IDX_ACT_POS_REPLY (   buffer)    (((buffer)[0x08] & 3) == 2)

Definition at line 617 of file qeth_core_mpc.h.

#define QETH_MCL_LENGTH   4

Definition at line 26 of file qeth_core_mpc.h.

#define QETH_MPC_DIFINFO_LEN_INDICATES_LINK_TYPE   0x18

Definition at line 56 of file qeth_core_mpc.h.

#define QETH_MPC_TOKEN_LENGTH   4

Definition at line 25 of file qeth_core_mpc.h.

#define QETH_PDU_HEADER_ACK_SEQ_NO (   buffer)    (buffer + 0x20)

Definition at line 604 of file qeth_core_mpc.h.

#define QETH_PDU_HEADER_SEQ_NO (   buffer)    (buffer + 0x1c)

Definition at line 603 of file qeth_core_mpc.h.

#define QETH_PROT_LAYER2   0x08

Definition at line 577 of file qeth_core_mpc.h.

#define QETH_PROT_OSN2   0x0a

Definition at line 579 of file qeth_core_mpc.h.

#define QETH_PROT_TCPIP   0x03

Definition at line 578 of file qeth_core_mpc.h.

#define QETH_RCD_PARM   -12

Definition at line 36 of file qeth_core_mpc.h.

#define QETH_SEQ_NO_LENGTH   4

Definition at line 24 of file qeth_core_mpc.h.

#define QETH_SETADP_BASE_LEN
Value:

Definition at line 525 of file qeth_core_mpc.h.

#define QETH_SETASS_BASE_LEN
Value:

Definition at line 521 of file qeth_core_mpc.h.

#define QETH_SNMP_SETADP_CMDLENGTH   16

Definition at line 527 of file qeth_core_mpc.h.

#define QETH_TIMEOUT   (10 * HZ)

Definition at line 29 of file qeth_core_mpc.h.

#define QETH_TRANSPORT_HEADER_SEQ_NO (   buffer)    (buffer + 4)

Definition at line 602 of file qeth_core_mpc.h.

#define QETH_ULP_ENABLE_DEST_ADDR (   buffer)    (buffer + 0x2c)

Definition at line 565 of file qeth_core_mpc.h.

#define QETH_ULP_ENABLE_FILTER_TOKEN (   buffer)    (buffer + 0x53)

Definition at line 566 of file qeth_core_mpc.h.

#define QETH_ULP_ENABLE_LINKNUM (   buffer)    (buffer + 0x61)

Definition at line 564 of file qeth_core_mpc.h.

#define QETH_ULP_ENABLE_PORTNAME_AND_LL (   buffer)    (buffer + 0x62)

Definition at line 567 of file qeth_core_mpc.h.

#define QETH_ULP_ENABLE_PROT_TYPE (   buffer)    (buffer + 0x50)

Definition at line 580 of file qeth_core_mpc.h.

#define QETH_ULP_ENABLE_RESP_DIFINFO_LEN (   buffer)    (PDU_ENCAPSULATION(buffer) + 0x17)

Definition at line 572 of file qeth_core_mpc.h.

#define QETH_ULP_ENABLE_RESP_FILTER_TOKEN (   buffer)    (PDU_ENCAPSULATION(buffer) + 0x13)

Definition at line 568 of file qeth_core_mpc.h.

#define QETH_ULP_ENABLE_RESP_LINK_TYPE (   buffer)    (PDU_ENCAPSULATION(buffer) + 0x2b)

Definition at line 574 of file qeth_core_mpc.h.

#define QETH_ULP_ENABLE_RESP_MAX_MTU (   buffer)    (PDU_ENCAPSULATION(buffer) + 0x1f)

Definition at line 570 of file qeth_core_mpc.h.

#define QETH_ULP_SETUP_CONNECTION_TOKEN (   buffer)    (buffer + 0x51)

Definition at line 586 of file qeth_core_mpc.h.

#define QETH_ULP_SETUP_CUA (   buffer)    (buffer + 0x68)

Definition at line 588 of file qeth_core_mpc.h.

#define QETH_ULP_SETUP_DEST_ADDR (   buffer)    (buffer + 0x2c)

Definition at line 585 of file qeth_core_mpc.h.

#define QETH_ULP_SETUP_FILTER_TOKEN (   buffer)    (buffer + 0x5a)

Definition at line 587 of file qeth_core_mpc.h.

#define QETH_ULP_SETUP_REAL_DEVADDR (   buffer)    (buffer + 0x6a)

Definition at line 589 of file qeth_core_mpc.h.

#define QETH_ULP_SETUP_RESP_CONNECTION_TOKEN (   buffer)    (PDU_ENCAPSULATION(buffer) + 0x1a)

Definition at line 591 of file qeth_core_mpc.h.

#define RESET_ROUTING_FLAG   0x10 /* indicate that routing type shall be set */

Definition at line 74 of file qeth_core_mpc.h.

#define SR_INFO_LEN   16

Definition at line 32 of file qeth_core_mpc.h.

#define ULP_ENABLE_SIZE   0x6b

Definition at line 563 of file qeth_core_mpc.h.

#define ULP_SETUP_SIZE   0x6c

Definition at line 584 of file qeth_core_mpc.h.

Enumeration Type Documentation

Enumerator:
IPA_CMD_ASS_ARP_SET_NO_ENTRIES 
IPA_CMD_ASS_ARP_QUERY_CACHE 
IPA_CMD_ASS_ARP_ADD_ENTRY 
IPA_CMD_ASS_ARP_REMOVE_ENTRY 
IPA_CMD_ASS_ARP_FLUSH_CACHE 
IPA_CMD_ASS_ARP_QUERY_INFO 
IPA_CMD_ASS_ARP_QUERY_STATS 

Definition at line 121 of file qeth_core_mpc.h.

Enumerator:
QETH_CARD_TYPE_UNKNOWN 
QETH_CARD_TYPE_OSD 
QETH_CARD_TYPE_IQD 
QETH_CARD_TYPE_OSN 
QETH_CARD_TYPE_OSM 
QETH_CARD_TYPE_OSX 

Definition at line 47 of file qeth_core_mpc.h.

Enumerator:
QETH_DIAGS_CMD_QUERY 
QETH_DIAGS_CMD_TRAP 
QETH_DIAGS_CMD_TRACE 
QETH_DIAGS_CMD_NOLOG 
QETH_DIAGS_CMD_DUMP 

Definition at line 433 of file qeth_core_mpc.h.

Enumerator:
QETH_DIAGS_CMD_TRACE_ENABLE 
QETH_DIAGS_CMD_TRACE_DISABLE 
QETH_DIAGS_CMD_TRACE_MODIFY 
QETH_DIAGS_CMD_TRACE_REPLACE 
QETH_DIAGS_CMD_TRACE_QUERY 

Definition at line 445 of file qeth_core_mpc.h.

Enumerator:
QETH_DIAGS_TYPE_HIPERSOCKET 

Definition at line 441 of file qeth_core_mpc.h.

Enumerator:
QETH_DIAGS_TRAP_ARM 
QETH_DIAGS_TRAP_DISARM 
QETH_DIAGS_TRAP_CAPTURE 

Definition at line 453 of file qeth_core_mpc.h.

Enumerator:
IPA_CMD_ASS_START 
IPA_CMD_ASS_STOP 
IPA_CMD_ASS_CONFIGURE 
IPA_CMD_ASS_ENABLE 

Definition at line 114 of file qeth_core_mpc.h.

Enumerator:
CHANGE_ADDR_READ_ADDR 
CHANGE_ADDR_ADD_ADDR 
CHANGE_ADDR_DEL_ADDR 
CHANGE_ADDR_FLUSH_ADDR_TABLE 

Definition at line 250 of file qeth_core_mpc.h.

Enumerator:
QETH_IPA_ARP_RC_SUCCESS 
QETH_IPA_ARP_RC_FAILED 
QETH_IPA_ARP_RC_NOTSUPP 
QETH_IPA_ARP_RC_OUT_OF_RANGE 
QETH_IPA_ARP_RC_Q_NOTSUPP 
QETH_IPA_ARP_RC_Q_NO_DATA 

Definition at line 509 of file qeth_core_mpc.h.

Enumerator:
IPA_CMD_STARTLAN 
IPA_CMD_STOPLAN 
IPA_CMD_SETVMAC 
IPA_CMD_DELVMAC 
IPA_CMD_SETGMAC 
IPA_CMD_DELGMAC 
IPA_CMD_SETVLAN 
IPA_CMD_DELVLAN 
IPA_CMD_SETCCID 
IPA_CMD_DELCCID 
IPA_CMD_MODCCID 
IPA_CMD_SETIP 
IPA_CMD_QIPASSIST 
IPA_CMD_SETASSPARMS 
IPA_CMD_SETIPM 
IPA_CMD_DELIPM 
IPA_CMD_SETRTG 
IPA_CMD_DELIP 
IPA_CMD_SETADAPTERPARMS 
IPA_CMD_SET_DIAG_ASS 
IPA_CMD_CREATE_ADDR 
IPA_CMD_DESTROY_ADDR 
IPA_CMD_REGISTER_LOCAL_ADDR 
IPA_CMD_UNREGISTER_LOCAL_ADDR 
IPA_CMD_UNKNOWN 

Definition at line 86 of file qeth_core_mpc.h.

Enumerator:
IPA_ARP_PROCESSING 
IPA_INBOUND_CHECKSUM 
IPA_OUTBOUND_CHECKSUM 
IPA_IP_FRAGMENTATION 
IPA_FILTERING 
IPA_IPV6 
IPA_MULTICASTING 
IPA_IP_REASSEMBLY 
IPA_QUERY_ARP_COUNTERS 
IPA_QUERY_ARP_ADDR_INFO 
IPA_SETADAPTERPARMS 
IPA_VLAN_PRIO 
IPA_PASSTHRU 
IPA_FLUSH_ARP_SUPPORT 
IPA_FULL_VLAN 
IPA_INBOUND_PASSTHRU 
IPA_SOURCE_MAC 
IPA_OSA_MC_ROUTER 
IPA_QUERY_ARP_ASSIST 
IPA_INBOUND_TSO 
IPA_OUTBOUND_TSO 

Definition at line 191 of file qeth_core_mpc.h.

Enumerator:
ISOLATION_MODE_NONE 
ISOLATION_MODE_FWD 
ISOLATION_MODE_DROP 

Definition at line 260 of file qeth_core_mpc.h.

Enumerator:
CHANGE_ADDR_READ_MAC 
CHANGE_ADDR_REPLACE_MAC 
CHANGE_ADDR_ADD_MAC 
CHANGE_ADDR_DEL_MAC 
CHANGE_ADDR_RESET_MAC 

Definition at line 243 of file qeth_core_mpc.h.

Enumerator:
SET_PROMISC_MODE_OFF 
SET_PROMISC_MODE_ON 

Definition at line 256 of file qeth_core_mpc.h.

Enumerator:
IPA_RC_SUCCESS 
IPA_RC_NOTSUPP 
IPA_RC_IP_TABLE_FULL 
IPA_RC_UNKNOWN_ERROR 
IPA_RC_UNSUPPORTED_COMMAND 
IPA_RC_TRACE_ALREADY_ACTIVE 
IPA_RC_INVALID_FORMAT 
IPA_RC_DUP_IPV6_REMOTE 
IPA_RC_DUP_IPV6_HOME 
IPA_RC_UNREGISTERED_ADDR 
IPA_RC_NO_ID_AVAILABLE 
IPA_RC_ID_NOT_FOUND 
IPA_RC_INVALID_IP_VERSION 
IPA_RC_LAN_FRAME_MISMATCH 
IPA_RC_L2_UNSUPPORTED_CMD 
IPA_RC_L2_DUP_MAC 
IPA_RC_L2_ADDR_TABLE_FULL 
IPA_RC_L2_DUP_LAYER3_MAC 
IPA_RC_L2_GMAC_NOT_FOUND 
IPA_RC_L2_MAC_NOT_AUTH_BY_HYP 
IPA_RC_L2_MAC_NOT_AUTH_BY_ADP 
IPA_RC_L2_MAC_NOT_FOUND 
IPA_RC_L2_INVALID_VLAN_ID 
IPA_RC_L2_DUP_VLAN_ID 
IPA_RC_L2_VLAN_ID_NOT_FOUND 
IPA_RC_DATA_MISMATCH 
IPA_RC_INVALID_MTU_SIZE 
IPA_RC_INVALID_LANTYPE 
IPA_RC_INVALID_LANNUM 
IPA_RC_DUPLICATE_IP_ADDRESS 
IPA_RC_IP_ADDR_TABLE_FULL 
IPA_RC_LAN_PORT_STATE_ERROR 
IPA_RC_SETIP_NO_STARTLAN 
IPA_RC_SETIP_ALREADY_RECEIVED 
IPA_RC_IP_ADDR_ALREADY_USED 
IPA_RC_MC_ADDR_NOT_FOUND 
IPA_RC_SETIP_INVALID_VERSION 
IPA_RC_UNSUPPORTED_SUBCMD 
IPA_RC_ARP_ASSIST_NO_ENABLE 
IPA_RC_PRIMARY_ALREADY_DEFINED 
IPA_RC_SECOND_ALREADY_DEFINED 
IPA_RC_INVALID_SETRTG_INDICATOR 
IPA_RC_MC_ADDR_ALREADY_DEFINED 
IPA_RC_LAN_OFFLINE 
IPA_RC_INVALID_IP_VERSION2 
IPA_RC_ENOMEM 
IPA_RC_FFFF 

Definition at line 135 of file qeth_core_mpc.h.

Enumerator:
SET_ACCESS_CTRL_RC_SUCCESS 
SET_ACCESS_CTRL_RC_NOT_SUPPORTED 
SET_ACCESS_CTRL_RC_ALREADY_NOT_ISOLATED 
SET_ACCESS_CTRL_RC_ALREADY_ISOLATED 
SET_ACCESS_CTRL_RC_NONE_SHARED_ADAPTER 
SET_ACCESS_CTRL_RC_ACTIVE_CHECKSUM_OFF 

Definition at line 265 of file qeth_core_mpc.h.

Enumerator:
IPA_SETADP_QUERY_COMMANDS_SUPPORTED 
IPA_SETADP_ALTER_MAC_ADDRESS 
IPA_SETADP_ADD_DELETE_GROUP_ADDRESS 
IPA_SETADP_ADD_DELETE_FUNCTIONAL_ADDR 
IPA_SETADP_SET_ADDRESSING_MODE 
IPA_SETADP_SET_CONFIG_PARMS 
IPA_SETADP_SET_CONFIG_PARMS_EXTENDED 
IPA_SETADP_SET_BROADCAST_MODE 
IPA_SETADP_SEND_OSA_MESSAGE 
IPA_SETADP_SET_SNMP_CONTROL 
IPA_SETADP_QUERY_CARD_INFO 
IPA_SETADP_SET_PROMISC_MODE 
IPA_SETADP_SET_DIAG_ASSIST 
IPA_SETADP_SET_ACCESS_CONTROL 
IPA_SETADP_QUERY_OAT 

Definition at line 226 of file qeth_core_mpc.h.

Enumerator:
QETH_IPA_SETDELIP_DEFAULT 
QETH_IPA_SETIP_VIPA_FLAG 
QETH_IPA_SETIP_TAKEOVER_FLAG 
QETH_IPA_DELIP_ADDR_2_B_TAKEN_OVER 
QETH_IPA_DELIP_VIPA_FLAG 
QETH_IPA_DELIP_ADDR_NEEDS_SETIP 

Definition at line 216 of file qeth_core_mpc.h.

Enumerator:
QETH_LINK_TYPE_FAST_ETH 
QETH_LINK_TYPE_HSTR 
QETH_LINK_TYPE_GBIT_ETH 
QETH_LINK_TYPE_OSN 
QETH_LINK_TYPE_10GBIT_ETH 
QETH_LINK_TYPE_LANE_ETH100 
QETH_LINK_TYPE_LANE_TR 
QETH_LINK_TYPE_LANE_ETH1000 
QETH_LINK_TYPE_LANE 
QETH_LINK_TYPE_ATM_NATIVE 

Definition at line 58 of file qeth_core_mpc.h.

Enumerator:
NO_ROUTER 
PRIMARY_ROUTER 
SECONDARY_ROUTER 
MULTICAST_ROUTER 
PRIMARY_CONNECTOR 
SECONDARY_CONNECTOR 

Definition at line 75 of file qeth_core_mpc.h.

Function Documentation

Definition at line 171 of file esd_usb2.c.

char* qeth_get_ipa_cmd_name ( enum qeth_ipa_cmds  cmd)

Definition at line 258 of file qeth_core_mpc.c.

char* qeth_get_ipa_msg ( enum qeth_ipa_return_codes  rc)

Definition at line 214 of file qeth_core_mpc.c.

Variable Documentation

__u32 __pad0__

Definition at line 472 of file qeth_core_mpc.h.

__u16 __pad1__

Definition at line 474 of file qeth_core_mpc.h.

Definition at line 477 of file qeth_core_mpc.h.

__u8 adapter_type

Definition at line 490 of file qeth_core_mpc.h.

Definition at line 343 of file qeth_core_mpc.h.

Definition at line 365 of file qeth_core_mpc.h.

__u32 addr_size

Definition at line 363 of file qeth_core_mpc.h.

__u32 assist_no

Definition at line 313 of file qeth_core_mpc.h.

__u8 cdata[64]

Definition at line 480 of file qeth_core_mpc.h.

struct qeth_change_addr change_addr

Definition at line 428 of file qeth_core_mpc.h.

unsigned char CM_ENABLE[]

Definition at line 28 of file qeth_core_mpc.c.

unsigned char CM_SETUP[]

Definition at line 47 of file qeth_core_mpc.c.

Definition at line 362 of file qeth_core_mpc.h.

__u16 cmdlength

Definition at line 415 of file qeth_core_mpc.h.

Definition at line 486 of file qeth_core_mpc.h.

__u32 command_code

Definition at line 315 of file qeth_core_mpc.h.

struct qeth_create_destroy_address create_destroy_addr

Definition at line 511 of file qeth_core_mpc.h.

union { ... } data

Definition at line 323 of file qeth_core_mpc.h.

__u32 data_len

Definition at line 380 of file qeth_core_mpc.h.

Definition at line 514 of file qeth_core_mpc.h.

unsigned char DM_ACT[]

Definition at line 109 of file qeth_core_mpc.c.

__u32 ext

Definition at line 479 of file qeth_core_mpc.h.

__u32 firmwarelevel

Definition at line 377 of file qeth_core_mpc.h.

__u32 flags

Definition at line 283 of file qeth_core_mpc.h.

__u32 flags_32bit

Definition at line 342 of file qeth_core_mpc.h.

Definition at line 340 of file qeth_core_mpc.h.

__u32 host_tod2

Definition at line 471 of file qeth_core_mpc.h.

unsigned char IDX_ACTIVATE_READ[]

Definition at line 12 of file qeth_core_mpc.c.

unsigned char IDX_ACTIVATE_WRITE[]

Definition at line 20 of file qeth_core_mpc.c.

__u8 initiator

Definition at line 487 of file qeth_core_mpc.h.

Definition at line 375 of file qeth_core_mpc.h.

__u8 ip[16]

Definition at line 345 of file qeth_core_mpc.h.

__u8 ip4[4]

Definition at line 297 of file qeth_core_mpc.h.

__u8 ip6[12]

Definition at line 296 of file qeth_core_mpc.h.

__u8 ip_addr[16]

Definition at line 281 of file qeth_core_mpc.h.

__u32 ipa_enabled

Definition at line 496 of file qeth_core_mpc.h.

unsigned char IPA_PDU_HEADER[]

Definition at line 125 of file qeth_core_mpc.c.

__u32 ipa_supported

Definition at line 495 of file qeth_core_mpc.h.

__u8 lan_type

Definition at line 356 of file qeth_core_mpc.h.

__u16 length

Definition at line 314 of file qeth_core_mpc.h.

__u8 mac[6]

Definition at line 294 of file qeth_core_mpc.h.

__u32 mac_length

Definition at line 299 of file qeth_core_mpc.h.

__u8 mask[16]

Definition at line 282 of file qeth_core_mpc.h.

__u32 mode

Definition at line 432 of file qeth_core_mpc.h.

__u32 no_entries

Definition at line 322 of file qeth_core_mpc.h.

__u32 no_lantypes_supp

Definition at line 355 of file qeth_core_mpc.h.

__u32 no_macs

Definition at line 364 of file qeth_core_mpc.h.

__u8 number_of_replies

Definition at line 317 of file qeth_core_mpc.h.

__u16 options

Definition at line 478 of file qeth_core_mpc.h.

__u8 padding[2]

Definition at line 295 of file qeth_core_mpc.h.

__u8 param_count

Definition at line 493 of file qeth_core_mpc.h.

__u8 prim_version_no

Definition at line 492 of file qeth_core_mpc.h.

__u16 prot_version

Definition at line 494 of file qeth_core_mpc.h.

Definition at line 344 of file qeth_core_mpc.h.

struct qeth_query_cmds_supp query_cmds_supp

Definition at line 427 of file qeth_core_mpc.h.

Definition at line 431 of file qeth_core_mpc.h.

unsigned char READ_CCW[]

Definition at line 153 of file qeth_core_mpc.c.

__u8 rel_adapter_no

Definition at line 491 of file qeth_core_mpc.h.

__u16 reply_bits

Definition at line 321 of file qeth_core_mpc.h.

__u32 req_len

Definition at line 381 of file qeth_core_mpc.h.

__u32 request

Definition at line 374 of file qeth_core_mpc.h.

__u16 request_bits

Definition at line 320 of file qeth_core_mpc.h.

__u32 reserved1

Definition at line 357 of file qeth_core_mpc.h.

__u16 reserved2

Definition at line 359 of file qeth_core_mpc.h.

__u32 reserved3

Definition at line 421 of file qeth_core_mpc.h.

__u16 return_code

Definition at line 316 of file qeth_core_mpc.h.

int returncode

Definition at line 376 of file qeth_core_mpc.h.

__u8 seq_no

Definition at line 318 of file qeth_core_mpc.h.

__u16 seqno

Definition at line 378 of file qeth_core_mpc.h.

struct qeth_set_access_ctrl set_access_ctrl

Definition at line 430 of file qeth_core_mpc.h.

Definition at line 512 of file qeth_core_mpc.h.

Definition at line 508 of file qeth_core_mpc.h.

Definition at line 505 of file qeth_core_mpc.h.

Definition at line 506 of file qeth_core_mpc.h.

Definition at line 507 of file qeth_core_mpc.h.

Definition at line 509 of file qeth_core_mpc.h.

Definition at line 510 of file qeth_core_mpc.h.

Definition at line 513 of file qeth_core_mpc.h.

Definition at line 429 of file qeth_core_mpc.h.

__u32 subcmd

Definition at line 475 of file qeth_core_mpc.h.

__u32 subcmd_code

Definition at line 390 of file qeth_core_mpc.h.

__u16 subcmd_len

Definition at line 473 of file qeth_core_mpc.h.

__u32 supp_hw_cmds

Definition at line 413 of file qeth_core_mpc.h.

__u32 supported_cmds

Definition at line 358 of file qeth_core_mpc.h.

__u8 token[16]

Definition at line 373 of file qeth_core_mpc.h.

Definition at line 476 of file qeth_core_mpc.h.

unsigned char ULP_ENABLE[]

Definition at line 67 of file qeth_core_mpc.c.

unsigned char ULP_SETUP[]

Definition at line 87 of file qeth_core_mpc.c.

__u8 unique_id[8]

Definition at line 430 of file qeth_core_mpc.h.

__u8 used_total

Definition at line 419 of file qeth_core_mpc.h.

__u16 vlan_id

Definition at line 303 of file qeth_core_mpc.h.

unsigned char WRITE_CCW[]

Definition at line 148 of file qeth_core_mpc.c.