Go to the source code of this file.
|
enum | ietf_mpa_flags { IETF_MPA_FLAGS_MARKERS = 0x80,
IETF_MPA_FLAGS_CRC = 0x40,
IETF_MPA_FLAGS_REJECT = 0x20
} |
|
enum | nes_timer_type { NES_TIMER_TYPE_SEND,
NES_TIMER_TYPE_RECV,
NES_TIMER_NODE_CLEANUP,
NES_TIMER_TYPE_CLOSE
} |
|
enum | option_numbers {
OPTION_NUMBER_END,
OPTION_NUMBER_NONE,
OPTION_NUMBER_MSS,
OPTION_NUMBER_WINDOW_SCALE,
OPTION_NUMBER_SACK_PERM,
OPTION_NUMBER_SACK,
OPTION_NUMBER_WRITE0 = 0xbc
} |
|
enum | nes_cm_node_state {
NES_CM_STATE_UNKNOWN,
NES_CM_STATE_INITED,
NES_CM_STATE_LISTENING,
NES_CM_STATE_SYN_RCVD,
NES_CM_STATE_SYN_SENT,
NES_CM_STATE_ONE_SIDE_ESTABLISHED,
NES_CM_STATE_ESTABLISHED,
NES_CM_STATE_ACCEPTING,
NES_CM_STATE_MPAREQ_SENT,
NES_CM_STATE_MPAREQ_RCVD,
NES_CM_STATE_MPAREJ_RCVD,
NES_CM_STATE_TSA,
NES_CM_STATE_FIN_WAIT1,
NES_CM_STATE_FIN_WAIT2,
NES_CM_STATE_CLOSE_WAIT,
NES_CM_STATE_TIME_WAIT,
NES_CM_STATE_LAST_ACK,
NES_CM_STATE_CLOSING,
NES_CM_STATE_LISTENER_DESTROYED,
NES_CM_STATE_CLOSED
} |
|
enum | mpa_frame_version { IETF_MPA_V1 = 1,
IETF_MPA_V2 = 2
} |
|
enum | mpa_frame_key { MPA_KEY_REQUEST,
MPA_KEY_REPLY
} |
|
enum | send_rdma0 { SEND_RDMA_READ_ZERO = 1,
SEND_RDMA_WRITE_ZERO = 2
} |
|
enum | nes_tcpip_pkt_type {
NES_PKT_TYPE_UNKNOWN,
NES_PKT_TYPE_SYN,
NES_PKT_TYPE_SYNACK,
NES_PKT_TYPE_ACK,
NES_PKT_TYPE_FIN,
NES_PKT_TYPE_RST
} |
|
enum | nes_cm_conn_type { NES_CM_IWARP_CONN_TYPE
} |
|
enum | nes_cm_listener_state { NES_CM_LISTENER_PASSIVE_STATE = 1,
NES_CM_LISTENER_ACTIVE_STATE = 2,
NES_CM_LISTENER_EITHER_STATE = 3
} |
|
enum | nes_cm_event_type {
NES_CM_EVENT_UNKNOWN,
NES_CM_EVENT_ESTABLISHED,
NES_CM_EVENT_MPA_REQ,
NES_CM_EVENT_MPA_CONNECT,
NES_CM_EVENT_MPA_ACCEPT,
NES_CM_EVENT_MPA_REJECT,
NES_CM_EVENT_MPA_ESTABLISHED,
NES_CM_EVENT_CONNECTED,
NES_CM_EVENT_CLOSED,
NES_CM_EVENT_RESET,
NES_CM_EVENT_DROPPED_PKT,
NES_CM_EVENT_CLOSE_IMMED,
NES_CM_EVENT_CLOSE_HARD,
NES_CM_EVENT_CLOSE_CLEAN,
NES_CM_EVENT_ABORTED,
NES_CM_EVENT_SEND_FIRST
} |
|
|
int | schedule_nes_timer (struct nes_cm_node *, struct sk_buff *, enum nes_timer_type, int, int) |
|
int | nes_accept (struct iw_cm_id *, struct iw_cm_conn_param *) |
|
int | nes_reject (struct iw_cm_id *, const void *, u8) |
|
int | nes_connect (struct iw_cm_id *, struct iw_cm_conn_param *) |
|
int | nes_create_listen (struct iw_cm_id *, int) |
|
int | nes_destroy_listen (struct iw_cm_id *) |
|
int | nes_cm_recv (struct sk_buff *, struct net_device *) |
|
int | nes_cm_start (void) |
|
int | nes_cm_stop (void) |
|
int | nes_add_ref_cm_node (struct nes_cm_node *cm_node) |
|
int | nes_rem_ref_cm_node (struct nes_cm_node *cm_node) |
|
#define IEFT_MPA_KEY_REP "MPA ID Rep Frame" |
#define IEFT_MPA_KEY_REQ "MPA ID Req Frame" |
#define IETF_FLPDU_ZERO_LEN 0x4000 |
#define IETF_MAX_PRIV_DATA_LEN 512 |
#define IETF_MPA_FRAME_SIZE 20 |
#define IETF_MPA_KEY_SIZE 16 |
#define ietf_mpa_req_resp_frame ietf_mpa_frame |
#define IETF_MPA_V2_FLAG 0x10 |
#define IETF_MPA_VERSION 1 |
#define IETF_NO_IRD_ORD 0x3FFF |
#define IETF_PEER_TO_PEER 0x8000 |
#define IETF_RDMA0_READ 0x4000 |
#define IETF_RDMA0_WRITE 0x8000 |
#define IETF_RTR_MSG_SIZE 4 |
#define NES_CM_DEF_LOCAL_ID 0x3b47 |
#define NES_CM_DEF_LOCAL_ID2 0xb807 |
#define NES_CM_DEF_SEQ 0x159bf75f |
#define NES_CM_DEF_SEQ2 0x18ed5740 |
#define NES_CM_DEFAULT_FRAME_CNT 10 |
#define NES_CM_DEFAULT_FREE_PKTS 0x000A |
#define NES_CM_DEFAULT_MSS 536 |
#define NES_CM_DEFAULT_MTU 1540 |
#define NES_CM_DEFAULT_RCV_WND 64240 |
#define NES_CM_DEFAULT_RCV_WND_SCALE 2 |
#define NES_CM_DEFAULT_RCV_WND_SCALED 256960 |
#define NES_CM_FREE_PKT_LO_WATERMARK 2 |
#define NES_CM_HASHTABLE_SIZE 1024 |
#define NES_CM_SET_FREE_PKT_Q_SIZE (1 << 2) |
#define NES_CM_SET_PKT_SIZE (1 << 1) |
#define NES_CM_TCP_TIMER_INTERVAL 3000 |
#define NES_CM_THREAD_STACK_SIZE 256 |
#define NES_DEFAULT_RETRANS 8 |
#define NES_DEFAULT_RETRYS 64 |
#define NES_DO_NOT_SEND_RESET_EVENT 1 |
#define NES_LONG_TIME (2000*HZ/1000) |
#define NES_MANAGE_APBVT_ADD 1 |
#define NES_MANAGE_APBVT_DEL 0 |
#define NES_MAX_TIMEOUT ((unsigned long) (12*HZ)) |
#define NES_MPA_REQUEST_ACCEPT 1 |
#define NES_MPA_REQUEST_REJECT 2 |
#define NES_PASSIVE_STATE_INDICATED 0 |
#define NES_RETRY_TIMEOUT (3000*HZ/1000) |
#define NES_SEND_RESET_EVENT 2 |
#define NES_SHORT_TIME (10) |
#define TCP_OPTIONS_PADDING 3 |
- Enumerator:
IETF_MPA_FLAGS_MARKERS |
|
IETF_MPA_FLAGS_CRC |
|
IETF_MPA_FLAGS_REJECT |
|
Definition at line 62 of file nes_cm.h.
- Enumerator:
MPA_KEY_REQUEST |
|
MPA_KEY_REPLY |
|
Definition at line 234 of file nes_cm.h.
- Enumerator:
NES_CM_EVENT_UNKNOWN |
|
NES_CM_EVENT_ESTABLISHED |
|
NES_CM_EVENT_MPA_REQ |
|
NES_CM_EVENT_MPA_CONNECT |
|
NES_CM_EVENT_MPA_ACCEPT |
|
NES_CM_EVENT_MPA_REJECT |
|
NES_CM_EVENT_MPA_ESTABLISHED |
|
NES_CM_EVENT_CONNECTED |
|
NES_CM_EVENT_CLOSED |
|
NES_CM_EVENT_RESET |
|
NES_CM_EVENT_DROPPED_PKT |
|
NES_CM_EVENT_CLOSE_IMMED |
|
NES_CM_EVENT_CLOSE_HARD |
|
NES_CM_EVENT_CLOSE_CLEAN |
|
NES_CM_EVENT_ABORTED |
|
NES_CM_EVENT_SEND_FIRST |
|
Definition at line 370 of file nes_cm.h.
- Enumerator:
NES_CM_LISTENER_PASSIVE_STATE |
|
NES_CM_LISTENER_ACTIVE_STATE |
|
NES_CM_LISTENER_EITHER_STATE |
|
Definition at line 284 of file nes_cm.h.
- Enumerator:
NES_CM_STATE_UNKNOWN |
|
NES_CM_STATE_INITED |
|
NES_CM_STATE_LISTENING |
|
NES_CM_STATE_SYN_RCVD |
|
NES_CM_STATE_SYN_SENT |
|
NES_CM_STATE_ONE_SIDE_ESTABLISHED |
|
NES_CM_STATE_ESTABLISHED |
|
NES_CM_STATE_ACCEPTING |
|
NES_CM_STATE_MPAREQ_SENT |
|
NES_CM_STATE_MPAREQ_RCVD |
|
NES_CM_STATE_MPAREJ_RCVD |
|
NES_CM_STATE_TSA |
|
NES_CM_STATE_FIN_WAIT1 |
|
NES_CM_STATE_FIN_WAIT2 |
|
NES_CM_STATE_CLOSE_WAIT |
|
NES_CM_STATE_TIME_WAIT |
|
NES_CM_STATE_LAST_ACK |
|
NES_CM_STATE_CLOSING |
|
NES_CM_STATE_LISTENER_DESTROYED |
|
NES_CM_STATE_CLOSED |
|
Definition at line 206 of file nes_cm.h.
- Enumerator:
NES_PKT_TYPE_UNKNOWN |
|
NES_PKT_TYPE_SYN |
|
NES_PKT_TYPE_SYNACK |
|
NES_PKT_TYPE_ACK |
|
NES_PKT_TYPE_FIN |
|
NES_PKT_TYPE_RST |
|
Definition at line 244 of file nes_cm.h.
- Enumerator:
NES_TIMER_TYPE_SEND |
|
NES_TIMER_TYPE_RECV |
|
NES_TIMER_NODE_CLEANUP |
|
NES_TIMER_TYPE_CLOSE |
|
Definition at line 100 of file nes_cm.h.
- Enumerator:
OPTION_NUMBER_END |
|
OPTION_NUMBER_NONE |
|
OPTION_NUMBER_MSS |
|
OPTION_NUMBER_WINDOW_SCALE |
|
OPTION_NUMBER_SACK_PERM |
|
OPTION_NUMBER_SACK |
|
OPTION_NUMBER_WRITE0 |
|
Definition at line 125 of file nes_cm.h.
- Enumerator:
SEND_RDMA_READ_ZERO |
|
SEND_RDMA_WRITE_ZERO |
|
Definition at line 239 of file nes_cm.h.
nes_cm_start Start and init a cm core module
Definition at line 3464 of file nes_cm.c.
nes_cm_stop stop and dealloc all cm core instances
Definition at line 3480 of file nes_cm.c.
nes_connect setup and launch cm connect node
Definition at line 3271 of file nes_cm.c.
nes_destroy_listen
Definition at line 3429 of file nes_cm.c.
schedule_nes_timer note - cm_node needs to be protected before calling this. Encase in: rem_ref_cm_node(cm_core, cm_node);add_ref_cm_node(cm_node);
Definition at line 666 of file nes_cm.c.