|
|
VipCloseNic() removes the association between the calling process and the VI NIC that was established via the corresponding VipOpenNic() function. When a VI NIC is closed, it is the responsibility of the VI Provider to clean up all resources associated with that NIC instance. This includes any resources allocated by the library and threads started on behalf of the NIC, such as error callback and notify threads.
- Return values:
-
| VIP_SUCCESS | Operation completed successfully. |
| VIP_INVALID_PARAMETER | Caller specified an invalid NIC handle. |
- Parameters:
-
| NicHandle | (IN) The handle to the NIC to close. |
- See also:
- VipOpenNic VIP_NIC
- Author:
- Patrick Geoffray
- Version:
- 1.0
Definition at line 42 of file vipclosenic.c.
References VIP_GM::alive_alarm, VIP_GM::alive_buffer, VIP_GM::blocking_plumber_cancelled, VIP_GM::blocking_plumber_tokens, VIP_GM::gm_board_id, VIP_GM::gm_port, VIP_GM::lock, VIP_GM::notify_lookaside, VIP_GM::periodic_plumber_cancelled, VIP_GM::plumber_blocking, VIP_GM::plumber_periodic, VIP_GM::recv_buffers, VIP_GM::recv_lock, VIP_GM::ref_count, VIP_GM::regmem_avl_lookaside, VIP_GM::regmem_avl_tree, VIP_GM::send_buffers, VI_GM_NUMBER_SEND_BUF, VIP_AVL_TREE_DESTROY, VIP_DEBUG, VIP_DEBUG_LABEL, vip_destroy_conn_handle_set(), vip_destroy_cq_handle_set(), vip_destroy_mem_handle_set(), vip_destroy_ptag_handle_set(), vip_destroy_vi_handle_set(), vip_glob_gm_ptrs, vip_glob_lock, VIP_INVALID_NIC_HANDLE, VIP_INVALID_PARAMETER, VIP_MUTEX_DESTROY, VIP_MUTEX_LOCK, VIP_MUTEX_UNLOCK, VIP_GM::vip_nic_ptrs, VIP_SEMAPHORE_DESTROY, VIP_SEMAPHORE_POST, VIP_GM::vip_send_req_lookaside, VIP_SUCCESS, VIP_THREAD_JOIN, and VIP_TRUE. |