ipd.h revision fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1
/*
* 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
*/
/*
* Copyright (c) 2012, Joyent, Inc. All rights reserved.
*/
/*
* These definitions are private to ipd and ipdadm.
*/
#ifndef _SYS_IPD_H
#define _SYS_IPD_H
#ifdef __cplusplus
extern "C" {
#endif
#define IPD_DEV_PATH "/dev/ipd"
typedef struct ipd_ioc_perturb {
typedef struct ipd_ioc_info {
#ifdef _KERNEL
typedef struct ipd_ioc_list32 {
#endif /* _KERNEL */
typedef struct ipd_ioc_list {
#define IPD_CORRUPT 0x1
#define IPD_DELAY 0x2
#define IPD_DROP 0x4
#ifdef __cplusplus
}
#endif
#endif /* _SYS_IPD_H */