|
Packit Service |
646995 |
/*
|
|
Packit Service |
646995 |
* Copyright (c) 2009-2011, Broadcom Corporation
|
|
Packit Service |
646995 |
* Copyright (c) 2014, QLogic Corporation
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
* Written by: Benjamin Li (benli@broadcom.com)
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
* All rights reserved.
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
* Redistribution and use in source and binary forms, with or without
|
|
Packit Service |
646995 |
* modification, are permitted provided that the following conditions
|
|
Packit Service |
646995 |
* are met:
|
|
Packit Service |
646995 |
* 1. Redistributions of source code must retain the above copyright
|
|
Packit Service |
646995 |
* notice, this list of conditions and the following disclaimer.
|
|
Packit Service |
646995 |
* 2. Redistributions in binary form must reproduce the above copyright
|
|
Packit Service |
646995 |
* notice, this list of conditions and the following disclaimer in the
|
|
Packit Service |
646995 |
* documentation and/or other materials provided with the distribution.
|
|
Packit Service |
646995 |
* 3. All advertising materials mentioning features or use of this software
|
|
Packit Service |
646995 |
* must display the following acknowledgement:
|
|
Packit Service |
646995 |
* This product includes software developed by Adam Dunkels.
|
|
Packit Service |
646995 |
* 4. The name of the author may not be used to endorse or promote
|
|
Packit Service |
646995 |
* products derived from this software without specific prior
|
|
Packit Service |
646995 |
* written permission.
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
|
|
Packit Service |
646995 |
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
Packit Service |
646995 |
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
Packit Service |
646995 |
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
Packit Service |
646995 |
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
Packit Service |
646995 |
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
|
Packit Service |
646995 |
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
Packit Service |
646995 |
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
Packit Service |
646995 |
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
Packit Service |
646995 |
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
Packit Service |
646995 |
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
* iscsid_ipc.h: Generic NIC management/utility functions
|
|
Packit Service |
646995 |
*
|
|
Packit Service |
646995 |
*/
|
|
Packit Service |
646995 |
#ifndef __ISCSID_IPC_H__
|
|
Packit Service |
646995 |
#define __ISCSID_IPC_H__
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
#include "uip.h"
|
|
Packit Service |
646995 |
#include "mgmt_ipc.h"
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
enum mgmt_ipc_err iscsid_connect(int *fd);
|
|
Packit Service |
646995 |
int iscsid_get_ipaddr(int fd, uip_ip4addr_t *ipaddr);
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
int iscsid_init();
|
|
Packit Service |
646995 |
int iscsid_start();
|
|
Packit Service |
646995 |
void iscsid_cleanup();
|
|
Packit Service |
646995 |
|
|
Packit Service |
646995 |
#endif /* __ISCSID_IPC_H__ */
|