/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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 2002 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _IPP_DLCOSMK_DLCOSMK_IMPL_H
#define _IPP_DLCOSMK_DLCOSMK_IMPL_H
#pragma ident "%Z%%M% %I% %E% SMI"
#include <inet/ipp_common.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Header file for implementation of DL CoS marker ipp action module */
#define _DLCOSMK_DEBUG
/* 802.1D user priority is 3 bits - 0-7 */
#ifdef _DLCOSMK_DEBUG
#else
#define dlcosmk0dbg(a)
#define dlcosmk1dbg(a)
#define dlcosmk2dbg(a)
#endif /* _DLCOSMK_DEBUG */
/* dlcosmk stats info. available using kstats */
typedef struct dlcosmk_stat_s {
/*
* If the above structure is changed, the count will have to be updated
* accordingly.
*/
/*
* The mappings have been taken from the VLAN driver.
*/
typedef struct usrpri_tbl_s {
} usrpri_tbl_t;
/* Per-instance data structure */
typedef struct dlcosmk_data_s {
/*
* ToS -> user_priority mapping. This mapping is local to this implementation
* i.e., the ToS -> 802.1D mapping is not a standard.
*/
#ifdef _KERNEL
extern int dlcosmk_debug;
#endif /* _KERNEL */
#ifdef __cplusplus
}
#endif
#endif /* _IPP_DLCOSMK_DLCOSMK_IMPL_H */