mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-16 18:21:27 +00:00
the iscsi-scst source code. This patch has been verified by reviewing it carefully and by verifying the output files of the command scripts/run-regression-tests -k 2.6.27.6. Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@571 d57e44dd-8a1f-0410-8b47-8ef2f437770f
32 lines
1.0 KiB
C
32 lines
1.0 KiB
C
/*
|
|
* iSCSI digest handling.
|
|
*
|
|
* Copyright (C) 2004 Xiranet Communications GmbH <arne.redlich@xiranet.com>
|
|
* Copyright (C) 2007 - 2008 Vladislav Bolkhovitin
|
|
* Copyright (C) 2007 - 2008 CMS Distribution Limited
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __ISCSI_DIGEST_H__
|
|
#define __ISCSI_DIGEST_H__
|
|
|
|
extern void digest_alg_available(int *val);
|
|
|
|
extern int digest_init(struct iscsi_conn *conn);
|
|
|
|
extern int digest_rx_header(struct iscsi_cmnd *cmnd);
|
|
extern int digest_rx_data(struct iscsi_cmnd *cmnd);
|
|
|
|
extern void digest_tx_header(struct iscsi_cmnd *cmnd);
|
|
extern void digest_tx_data(struct iscsi_cmnd *cmnd);
|
|
|
|
#endif /* __ISCSI_DIGEST_H__ */
|