OpenNSL API Guide and Reference Manual
Welcome
OpenNSL Documentation
API Reference
Files
File List
Globals
include
opennsl
portX.h
Go to the documentation of this file.
1
4
/*****************************************************************************
5
*
6
* This software is governed by the Broadcom Advanced Switch APIs license.
7
* This license is set out in the
8
* https://github.com/Broadcom-Switch/OpenNSL/Legal/LICENSE-Adv file.
9
*
10
* Copyright 2015-2016 Broadcom Corporation. All rights reserved.
11
*
12
***************************************************************************/
16
#ifndef __OPENNSL_PORTX_H__
17
#define __OPENNSL_PORTX_H__
18
19
#include <
shared/portmode.h
>
20
#include <
shared/port.h
>
21
#include <
shared/phyconfig.h
>
22
#include <
shared/phyreg.h
>
23
#include <
shared/switch.h
>
24
#include <
opennsl/types.h
>
25
#include <
opennsl/stat.h
>
26
#include <
shared/port_ability.h
>
27
28
/***************************************************************************/
46
extern
int
opennsl_port_cfi_color_set
(
47
int
unit,
48
opennsl_port_t
port
,
49
int
cfi,
50
opennsl_color_t
color)
LIB_DLL_EXPORTED
;
51
52
/***************************************************************************/
70
extern
int
opennsl_port_cfi_color_get
(
71
int
unit,
72
opennsl_port_t
port
,
73
int
cfi,
74
opennsl_color_t
*color)
LIB_DLL_EXPORTED
;
75
76
#endif
/* __OPENNSL_PORTX_H__ */
77
© 2016-17 by Broadcom Limited. All rights reserved.