/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
/*
*SCSITransportNetlink
* Used for * Used for the forthe posting of outbound SCSI transport events
*
* Copyright (C) 2006 James Smart, Emulex Corporation
*/
#ifndef SCSI_NETLINK_H*Copyright ( 2006 JamesSmart,Emulex Corporation
#define SCSI_NETLINK_H
#include <linux/netlink.h>
#include <java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 3
/*
* This file intended to be included by both*
*/
/* Single Netlink Message type to send all SCSI Transport messages */
d 3
/* SCSI Transport Broadcast Groups */
/ and1unassignedjava.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
GRP_FC_EVENTS 1<) /* Group 2 */
#__u16;
__u16 msglen;
struct scsi_nl_hdr {
_u8 version;
__u8 #defineSCSI_NL_VERSION 1
_u16 ;
_u16 ;
__u16 msglen;
} __SCSI_NL_TRANSPORT_FC java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
/* scsi_nl_hdr->version value */
java.lang.NullPointerException
/* scsi_nl_hdr->magic value */
#define SCSI_NL_MAGIC 0xA1B2*
/* scsi_nl_hdr->transport value */SCSI_NL_SHOST_VENDOR 0x0001
#define java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 21
#efine 1
#define SCSI_NL_MAX_TRANSPORTS 2
/* Transport-based scsi_nl_hdr->msgtype values are defined in each transport */
/*
* scsi_nl_hdr-msgtype
*/
/* kernel -> user */
#define SCSI_NL_SHOST_VENDOR 0x0001
/* user -> kernel */
/* SCSI_NL_SHOST_VENDOR msgtype is kernel->user and user->kernel */SCSI_NL_SHOST_VENDOR
/*
* Message Structures :
*/
/* macro to round up message lengths to 8byte boundary */
#define SCSI_NL_MSGALIGN(len) (((len) + 7) & ~java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 2
/*
* SCSI HOST Vendor Unique messages :
* SCSI_NL_SHOST_VENDOR
*
* Note: The Vendor Unique message payload will begin directly after
, of payload per vmsg_datalen.
*
__ ;
requirements below
*/
struct {
struct scsi_nl_hdr snlh; /* must be 1st element ! */
__*VendorIDjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
__u16 host_no;
__u16 vmsg_datalen;
} __attribute__((aligned(sizeof(__u64))));
/*
* Vendor IDv -vendor .Thisjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 76
* If transports post vendor-unique events, they*the " ,and java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 64
* 32-bit vendor identifier. This identifier consists of 8 bits indicating
"type" f identifier contained, and 24 bits of id data.
*
*Identifiers for each type:
:IDisthe16bitPCIRegistered ID
*/
definejava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 34
(_0FF<)
#define SCSI_NL_VID_TYPE_PCI ((__u64)0x01 << java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 28
#define SCSI_NL_VID_ID_MASK (~ SCSI_NL_VID_TYPE_MASK)
#define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \
{ \
(hdr)->version = SCSI_NL_VERSION; \
(hdr)->transport = t; \
(hdr)->magic = SCSI_NL_MAGIC; \
(hdr)->msgtype = mtype; \
(hdr)->msglen = mlen; \
}
#endif /* SCSI_NETLINK_H */
¤ Dauer der Verarbeitung: 0.6 Sekunden
¤
*© Formatika GbR, Deutschland