Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
openapi_fip_snooping.h
Go to the documentation of this file.
1 
9 /*********************************************************************
10 *
11 * Copyright 2016-2017 Broadcom.
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License");
14 * you may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 *
25 **********************************************************************
26 *
27 * @filename openapi_fip_snooping.h
28 *
29 * @purpose Provide an API to interface with the FIP Snooping component
30 *
31 * @component Datacenter
32 *
33 * @create 09/01/2012
34 *
35 * @end
36 *
37 **********************************************************************/
38 #ifndef OPENAPI_FIPSNOOPING_H_INCLUDED
39 #define OPENAPI_FIPSNOOPING_H_INCLUDED
40 
41 #include "openapi_common.h"
42 /* Flags to specify what type of TLVs to send */
43 #define OPEN_FIP_SEND_TLV_NONE 0
44 #define OPEN_FIP_SEND_TLV_FIP 1
45 #define OPEN_FIP_SEND_TLV_FCOE 2
47 /**********************************************************************/
66 open_error_t openapiFipSnoopingForceModeSet(OPEN_CONTROL_t forceMode,
67  uint32_t sendFlags,
68  uint8_t priority);
69 
70 #endif /* OPENAPI_FIPSNOOPING_H_INCLUDED*/
71