mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-25 07:51:28 +00:00
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5892 d57e44dd-8a1f-0410-8b47-8ef2f437770f
23 lines
393 B
C
23 lines
393 B
C
/*
|
|
* Extensions to the SRPr16a protocol
|
|
*
|
|
* Copyright (C) 2013 Fusion-io, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _SRP_EXT_H_
|
|
#define _SRP_EXT_H_
|
|
|
|
/*
|
|
* Data is present as immediate data instead of being referred to via a
|
|
* descriptor.
|
|
*/
|
|
enum { SRP_DATA_DESC_IMM = 3 };
|
|
enum { SRP_BUF_FORMAT_IMM = 1 << 3 };
|
|
|
|
struct srp_imm_buf {
|
|
__be32 len;
|
|
__be32 offset;
|
|
};
|
|
|
|
#endif /* _SRP_EXT_H_ */
|