#include "ocs_os.h"Go to the source code of this file.
Defines the iSCSI connection managment functions. Internally a state machine is used to send the mailbox commands. This code should be OS independant.
Definition in file ocs_cxn.h.
Functions | |
| int32_t | ocs_cxn_initialize (ocs_iscsi_t *) |
| Initialize the iSCSI connection objects. More... | |
| void | ocs_cxn_teardown (ocs_iscsi_t *) |
| Free the iSCSI connection objects. More... | |
| ocs_cxn_t * | ocs_cxn_alloc (ocs_iscsi_t *iscsi, uint32_t conn_hdl) |
| Allocates a connection and initializes the fields as required. More... | |
| int32_t | ocs_cxn_connect (ocs_iscsi_t *iscsi, ocs_hal_ip_address_t *remote_ip, uint16_t tcp_port, char *tgt_name) |
| Log an initiator into the specified target address. More... | |
| int32_t | ocs_cxn_new_tgt_connection (ocs_iscsi_t *iscsi, uint32_t cid) |
| Function to receive new TCP connections. More... | |
| int32_t | ocs_cxn_close (ocs_cxn_t *cxn, uint8_t sendRst) |
| Issues a request to the HAL to close the connection. More... | |
| void | ocs_cxn_force_free (ocs_cxn_t *cxn) |
| Free memory resources of a node object. More... | |
| int | ocs_ddump_node (ocs_textbuf_t *textbuf, ocs_node_t *node) |
| Generate node ddump data. More... | |
| ocs_cxn_t* ocs_cxn_alloc | ( | ocs_iscsi_t * | iscsi, |
| uint32_t | conn_hdl | ||
| ) |
| void ocs_cxn_force_free | ( | ocs_cxn_t * | cxn | ) |
| int32_t ocs_cxn_initialize | ( | ocs_iscsi_t * | iscsi | ) |
| void ocs_cxn_teardown | ( | ocs_iscsi_t * | iscsi | ) |
| int ocs_ddump_node | ( | ocs_textbuf_t * | textbuf, |
| ocs_node_t * | node | ||
| ) |