/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _SYS_MD_NAMES_H
#define _SYS_MD_NAMES_H
#ifdef __cplusplus
extern "C" {
#endif
#define NM_NOTSHARED 0
#define NM_DEVID_INVALID 0
#pragma pack(4)
#endif
#ifdef _KERNEL
struct nm_rec_hdr {
};
#else /* ! _KERNEL */
struct nm_rec_hdr {
};
#endif /* _KERNEL */
struct nm_next_hdr {
void *nmn_record;
};
struct nm_shr_rec {
struct nm_shared_name {
/* sn_data NOT USED anywhere */
};
#define SHR_NAMSIZ(n) \
(((sizeof (struct nm_shared_name) - 1) + \
struct nm_rec {
struct nm_name {
};
#define NAMSIZ(n) \
(((sizeof (struct nm_name) - 1) + \
/*
* Device id support
*/
struct devid_shr_rec {
struct did_shr_name {
};
#define DID_SHR_NAMSIZ(n) \
(((sizeof (struct did_shr_name) - 1) + \
struct devid_min_rec {
struct did_min_name {
};
#define DID_NAMSIZ(n) \
(((sizeof (struct did_min_name) - 1) + \
struct nm_header {
};
struct nm_header_hdr {
};
#pragma pack()
#endif
#ifdef __cplusplus
}
#endif
#endif /* _SYS_MD_NAMES_H */