Linux Kernel
3.7.1
|
#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 |
Functions | |
struct qeth_ipacmd_setdelip4 | __attribute__ ((packed)) |
char * | qeth_get_ipa_msg (enum qeth_ipa_return_codes rc) |
char * | qeth_get_ipa_cmd_name (enum qeth_ipa_cmds cmd) |
#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 | ) |
Definition at line 628 of file qeth_core_mpc.h.
#define IS_IPA_REPLY | ( | cmd | ) |
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 | ) |
#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.
Definition at line 546 of file qeth_core_mpc.h.
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.
Definition at line 547 of file qeth_core_mpc.h.
Definition at line 556 of file qeth_core_mpc.h.
Definition at line 555 of file qeth_core_mpc.h.
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.
Definition at line 598 of file qeth_core_mpc.h.
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.
Definition at line 619 of file qeth_core_mpc.h.
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.
Definition at line 613 of file qeth_core_mpc.h.
Definition at line 611 of file qeth_core_mpc.h.
Definition at line 610 of file qeth_core_mpc.h.
Definition at line 615 of file qeth_core_mpc.h.
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.
Definition at line 612 of file qeth_core_mpc.h.
Definition at line 618 of file qeth_core_mpc.h.
#define QETH_IPA_ARP_DATA_POS | ( | buffer | ) |
Definition at line 523 of file qeth_core_mpc.h.
Definition at line 20 of file qeth_core_mpc.h.
Definition at line 581 of file qeth_core_mpc.h.
Definition at line 15 of file qeth_core_mpc.h.
Definition at line 16 of file qeth_core_mpc.h.
Definition at line 17 of file qeth_core_mpc.h.
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.
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.
Definition at line 604 of file qeth_core_mpc.h.
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 |
Definition at line 525 of file qeth_core_mpc.h.
#define QETH_SETASS_BASE_LEN |
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.
Definition at line 602 of file qeth_core_mpc.h.
Definition at line 565 of file qeth_core_mpc.h.
Definition at line 566 of file qeth_core_mpc.h.
Definition at line 564 of file qeth_core_mpc.h.
Definition at line 567 of file qeth_core_mpc.h.
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.
Definition at line 586 of file qeth_core_mpc.h.
Definition at line 588 of file qeth_core_mpc.h.
Definition at line 585 of file qeth_core_mpc.h.
Definition at line 587 of file qeth_core_mpc.h.
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.
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.
enum qeth_card_types |
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.
enum qeth_diags_cmds |
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.
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.
Definition at line 441 of file qeth_core_mpc.h.
Definition at line 453 of file qeth_core_mpc.h.
enum qeth_ip_ass_cmds |
Definition at line 114 of file qeth_core_mpc.h.
enum qeth_ipa_addr_ops |
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.
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.
enum qeth_ipa_cmds |
Definition at line 86 of file qeth_core_mpc.h.
enum qeth_ipa_funcs |
Definition at line 191 of file qeth_core_mpc.h.
Definition at line 260 of file qeth_core_mpc.h.
enum qeth_ipa_mac_ops |
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.
Definition at line 256 of file qeth_core_mpc.h.
Definition at line 135 of file qeth_core_mpc.h.
Definition at line 265 of file qeth_core_mpc.h.
enum qeth_ipa_setadp_cmd |
Definition at line 226 of file qeth_core_mpc.h.
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.
enum qeth_link_types |
Definition at line 58 of file qeth_core_mpc.h.
enum qeth_routing_types |
NO_ROUTER | |
PRIMARY_ROUTER | |
SECONDARY_ROUTER | |
MULTICAST_ROUTER | |
PRIMARY_CONNECTOR | |
SECONDARY_CONNECTOR |
Definition at line 75 of file qeth_core_mpc.h.
|
read |
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.
__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.
struct qeth_arp_cache_entry add_arp_entry |
Definition at line 343 of file qeth_core_mpc.h.
__u8 addr[OSA_ADDR_LEN] |
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.
struct qeth_ipacmd_diagass diagass |
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.
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.
struct qeth_arp_query_data query_arp |
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.
struct qeth_query_oat query_oat |
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.
struct qeth_ipacmd_setadpparms setadapterparms |
Definition at line 512 of file qeth_core_mpc.h.
struct qeth_ipacmd_setassparms setassparms |
Definition at line 508 of file qeth_core_mpc.h.
struct qeth_ipacmd_setdelip4 setdelip4 |
Definition at line 505 of file qeth_core_mpc.h.
struct qeth_ipacmd_setdelip6 setdelip6 |
Definition at line 506 of file qeth_core_mpc.h.
struct qeth_ipacmd_setdelipm setdelipm |
Definition at line 507 of file qeth_core_mpc.h.
struct qeth_ipacmd_layer2setdelmac setdelmac |
Definition at line 509 of file qeth_core_mpc.h.
struct qeth_ipacmd_layer2setdelvlan setdelvlan |
Definition at line 510 of file qeth_core_mpc.h.
struct qeth_set_routing setrtg |
Definition at line 513 of file qeth_core_mpc.h.
struct qeth_snmp_cmd snmp |
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.
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.