-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedge_br_sid.h
40 lines (36 loc) · 1.3 KB
/
edge_br_sid.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* SPDX-License-Identifier: GPL-2.0 */
/* TTTech EDGE/DE-IP Linux driver
* Copyright(c) 2018 TTTech Computertechnik AG.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see <http://www.gnu.org/licenses/>.
*
* The full GNU General Public License is included in this distribution in
* the file called "COPYING".
*
* Contact Information:
* TTTech Computertechnik AG, Schoenbrunnerstrasse 7, 1040 Vienna, Austria
*/
#ifndef _EDGE_ST_IDENT_H
#define _EDGE_ST_IDENT_H
#include "edge_bridge.h"
struct edgx_sid_br;
enum cnt_type {
CNT_OUT = 0,
CNT_IN
};
int edgx_probe_sid(struct edgx_br *br, struct edgx_sid_br **br_sid);
void edgx_shutdown_sid(struct edgx_sid_br *sid);
u32 edgx_sid_get_cnt(struct edgx_sid_br *sid, u16 str_hdl, u8 port,
enum cnt_type type);
#endif /*_EDGE_ST_IDENT_H */