/*
* 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_VDP_IMPL_H
#define _SYS_VDP_IMPL_H
#ifdef __cplusplus
extern "C" {
#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <stddef.h>
#include <door.h>
#include <fcntl.h>
#include <paths.h>
#include <libdllink.h>
#include <libdlpi.h>
#include <pthread.h>
#include <string.h>
#include <strings.h>
#include <sys/socket_impl.h>
#include <assert.h>
#include <ecp.h>
#include <vdp.h>
#include <libinetutil.h>
/*
* VDP Timers
*/
typedef enum vdp_state {
} vdp_state_t;
typedef enum vdp_prof_proc_state_s {
VDP_PROF_INIT = 0,
#define VDP_TLV_LEN_SHIFT 0
#pragma pack(1)
typedef struct vdp_tlv_s {
} vdp_tlv_t;
typedef struct vdp_tlv_mgr_s {
/* Org specific TLV that follows the VSI Manager TLV. */
typedef struct vdp_tlv_mgrenc_s {
/*
* VDP Filters
*/
typedef short vtf_ps_pcp_vid_t;
typedef struct vdp_tlv_fltr_vid_s {
typedef struct vtf_mac_s {
} vtf_mac_t;
typedef struct vtf_group_s {
} vtf_group_t;
typedef struct vtf_group_mac_s {
#pragma pack()
typedef struct vdp_profile_s {
int vdp_prof_tlv_len;
int vdp_prof_timer_id;
/* per-vsi Statistics */
#define VDP_PROF_STAT_UPDATE(v, s, c) { \
}
/* VDP instance for each physical port */
typedef struct vdp_inst_struct_s {
void *vdp_inst_ecp_handle;
int vdp_inst_sockfd;
/* Statistics */
} vdp_inst_t;
extern void vdp_logmsg(int, const char *, ...);
#ifdef __cplusplus
}
#endif
#endif /* _SYS_VDP_IMPL_H */