-
Notifications
You must be signed in to change notification settings - Fork 0
/
edge_preempt.h
40 lines (34 loc) · 1.4 KB
/
edge_preempt.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_PREEMPT_H
#define _EDGE_PREEMPT_H
#include "edge_bridge.h"
struct edgx_preempt;
int edgx_probe_preempt(struct edgx_pt *pt, struct edgx_com_hdl *hcom,
edgx_io_t *iobase, struct edgx_preempt **ppreempt);
void edgx_shutdown_preempt(struct edgx_preempt *preempt);
void edgx_preempt_rcv(struct edgx_preempt *preempt, struct sk_buff *skb,
ptflags_t flags);
void edgx_preempt_link_chng(struct edgx_pt *pt, int link, int speed);
#endif /* _EDGE_PREEMPT */