/*
* 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 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_SYSEVENT_IPMP_H
#define _SYS_SYSEVENT_IPMP_H
/*
* IPMP sysevent definitions. Note that all of these definitions are
* Sun-private and are subject to change at any time.
*/
#ifdef __cplusplus
extern "C" {
#endif
/*
* Event channel associated with these events
*/
/*
* Event type EC_IPMP/ESC_IPMP_GROUP_STATE event schema
*
* Event Class - EC_IPMP
* Event Sub-Class - ESC_IPMP_GROUP_STATE
* Event Vendor - com.sun
* Event Publisher - in.mpathd
*
* Attribute Name - IPMP_EVENT_VERSION
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <version>
*
* Attribute Name - IPMP_GROUP_NAME
* Attribute Type - SE_DATA_TYPE_STRING
* Attribute Value - <group-name>
*
* Attribute Name - IPMP_GROUP_SIGNATURE
* Attribute Type - SE_DATA_TYPE_UINT64
* Attribute Value - <group-signature>
*
* Attribute Name - IPMP_GROUP_STATE
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <group-state>
*/
typedef enum {
/*
* Event type EC_IPMP/ESC_IPMP_GROUP_CHANGE event schema
*
* Event Class - EC_IPMP
* Event Sub-Class - ESC_IPMP_GROUP_CHANGE
* Event Vendor - com.sun
* Event Publisher - in.mpathd
*
* Attribute Name - IPMP_GROUP_NAME
* Attribute Type - SE_DATA_TYPE_STRING
* Attribute Value - <group-name>
*
* Attribute Name - IPMP_EVENT_VERSION
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <version>
*
* Attribute Name - IPMP_GROUPLIST_SIGNATURE
* Attribute Type - SE_DATA_TYPE_UINT64
* Attribute Value - <grouplist-signature>
*
* Attribute Name - IPMP_GROUP_OPERATION
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <group-change-op>
*/
typedef enum {
/*
* Event type EC_IPMP/ESC_IPMP_GROUP_MEMBER event schema
*
* Event Class - EC_IPMP
* Event Sub-Class - ESC_IPMP_GROUP_MEMBER_CHANGE
* Event Vendor - com.sun
* Event Publisher - in.mpathd
*
* Attribute Name - IPMP_GROUP_NAME
* Attribute Type - SE_DATA_TYPE_STRING
* Attribute Value - <group-name>
*
* Attribute Name - IPMP_EVENT_VERSION
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <version>
*
* Attribute Name - IPMP_GROUP_SIGNATURE
* Attribute Type - SE_DATA_TYPE_UINT64
* Attribute Value - <group-signature>
*
* Attribute Name - IPMP_IF_OPERATION
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <interface-op>
*
* Attribute Name - IPMP_IF_NAME
* Attribute Type - SE_DATA_TYPE_STRING
* Attribute Value - <if-name>
*
* Attribute Name - IPMP_IF_TYPE
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <if-type>
*
* Attribute Name - IPMP_IF_STATE
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <if-state>
*/
typedef enum {
} ipmp_if_op_t;
typedef enum {
typedef enum {
/*
* Event type EC_IPMP/ESC_IPMP_IF_CHANGE event schema
*
* Event Class - EC_IPMP
* Event Sub-Class - ESC_IPMP_IF_CHANGE
* Event Vendor - com.sun
* Event Publisher - in.mpathd
*
* Attribute Name - IPMP_GROUP_NAME
* Attribute Type - SE_DATA_TYPE_STRING
* Attribute Value - <group-name>
*
* Attribute Name - IPMP_EVENT_VERSION
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <version>
*
* Attribute Name - IPMP_GROUP_SIGNATURE
* Attribute Type - SE_DATA_TYPE_UINT64
* Attribute Value - <group-signature>
*
* Attribute Name - IPMP_IF_NAME
* Attribute Type - SE_DATA_TYPE_STRING
* Attribute Value - <if-name>
*
* Attribute Name - IPMP_IF_STATE
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <if-state>
*
* Attribute Name - IPMP_IF_TYPE
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <if-type>
*/
typedef enum {
/*
* Event type EC_IPMP/ESC_IPMP_PROBE_STATE event schema
*
* Event Class - EC_IPMP
* Event Sub-Class - ESC_IPMP_PROBE_STATE
* Event Vendor - com.sun
* Event Publisher - in.mpathd
*
* Attribute Name - IPMP_PROBE_ID
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <probe-id>
*
* Attribute Name - IPMP_EVENT_VERSION
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <version>
*
* Attribute Name - IPMP_IF_NAME
* Attribute Type - SE_DATA_TYPE_STRING
* Attribute Value - <if-name>
*
* Attribute Name - IPMP_PROBE_STATE
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <probe-state>
*
* Attribute Name - IPMP_PROBE_START_TIME
* Attribute Type - SE_DATA_TYPE_TIME
* Attribute Value - <probe-start-time>
*
* Attribute Name - IPMP_PROBE_SENT_TIME
* Attribute Type - SE_DATA_TYPE_TIME
* Attribute Value - <probe-sent-time>
*
* Attribute Name - IPMP_PROBE_ACKRECV_TIME
* Attribute Type - SE_DATA_TYPE_TIME
* Attribute Value - <probe-ackrecv-time>
*
* Attribute Name - IPMP_PROBE_ACKPROC_TIME
* Attribute Type - SE_DATA_TYPE_TIME
* Attribute Value - <probe-ackproc-time>
*
* Attribute Name - IPMP_PROBE_TARGET
* Attribute Type - SE_DATA_TYPE_BYTES
* Attribute Value - <probe-target-ip>
*
* Attribute Name - IPMP_PROBE_TARGET_RTTAVG
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <probe-target-rttavg>
*
* Attribute Name - IPMP_PROBE_TARGET_RTTDEV
* Attribute Type - SE_DATA_TYPE_UINT32
* Attribute Value - <probe-target-rttdev>
*/
#ifdef __cplusplus
}
#endif
#endif /* _SYS_SYSEVENT_IPMP_H */