trex_stateless_rx_defs.h revision 02ab06b1
1/*
2  Itay Marom
3  Cisco Systems, Inc.
4*/
5
6/*
7  Copyright (c) 2016-2016 Cisco Systems, Inc.
8
9  Licensed under the Apache License, Version 2.0 (the "License");
10  you may not use this file except in compliance with the License.
11  You may obtain a copy of the License at
12
13  http://www.apache.org/licenses/LICENSE-2.0
14
15  Unless required by applicable law or agreed to in writing, software
16  distributed under the License is distributed on an "AS IS" BASIS,
17  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  See the License for the specific language governing permissions and
19  limitations under the License.
20*/
21
22#ifndef __TREX_STATELESS_RX_DEFS_H__
23#define __TREX_STATELESS_RX_DEFS_H__
24
25/**
26 * describes the filter type applied to the RX
27 *  RX_FILTER_MODE_HW - only hardware filtered traffic will
28 *  reach the RX core
29 *
30 */
31typedef enum rx_filter_mode_ {
32	RX_FILTER_MODE_HW,
33	RX_FILTER_MODE_ALL
34} rx_filter_mode_e;
35
36#endif /* __TREX_STATELESS_RX_DEFS_H__ */
37