/*
* 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_ECP_H
#define _SYS_ECP_H
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/ethernet.h>
#include <lldp.h>
#define ECP_SUBTYPE_SHIFT 0
enum ecp_op_type {
ECP_REQ = 0,
};
/* ECP Statistcs */
typedef struct ecp_stat_s {
} ecp_stat_t;
typedef struct ecp_timers_s {
} ecp_timers_t;
/* ECP config info */
typedef struct ecp_config_s {
int ecpc_max_tx_attempts;
} ecp_config_t;
uint16_t, int, int, ecp_ulp_cb_t, void *, int, int *);
extern void ecp_fini(void *);
extern int ecp_offset(void);
extern void ecp_stats(void *, ecp_stat_t *);
extern void ecp_timers(ecp_timers_t *);
extern void ecp_get_config(void *, ecp_config_t *);
#ifdef __cplusplus
}
#endif
#endif /* _SYS_ECP_H */