]>
Commit | Line | Data |
---|---|---|
f2459fe7 | 1 | /* |
e23775f2 | 2 | * Copyright (c) 2007-2015 Nicira, Inc. |
f2459fe7 | 3 | * |
a9a29d22 JG |
4 | * This program is free software; you can redistribute it and/or |
5 | * modify it under the terms of version 2 of the GNU General Public | |
6 | * License as published by the Free Software Foundation. | |
7 | * | |
8 | * This program is distributed in the hope that it will be useful, but | |
9 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
11 | * General Public License for more details. | |
12 | * | |
13 | * You should have received a copy of the GNU General Public License | |
14 | * along with this program; if not, write to the Free Software | |
15 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | |
16 | * 02110-1301, USA | |
f2459fe7 JG |
17 | */ |
18 | ||
19 | #ifndef VPORT_NETDEV_H | |
20 | #define VPORT_NETDEV_H 1 | |
21 | ||
22 | #include <linux/netdevice.h> | |
e65361d6 | 23 | #include <linux/rcupdate.h> |
f2459fe7 JG |
24 | |
25 | #include "vport.h" | |
26 | ||
850b6b3b | 27 | struct vport *ovs_netdev_get_vport(struct net_device *dev); |
f2459fe7 | 28 | |
e23775f2 | 29 | struct vport *ovs_netdev_link(struct vport *vport, const char *name); |
8e04c6e1 | 30 | void ovs_netdev_detach_dev(struct vport *); |
f2459fe7 | 31 | |
5a38795f TG |
32 | int __init ovs_netdev_init(void); |
33 | void ovs_netdev_exit(void); | |
34 | ||
e23775f2 PS |
35 | void ovs_netdev_tunnel_destroy(struct vport *vport); |
36 | ||
37 | void netdev_port_receive(struct sk_buff *skb, struct ip_tunnel_info *tun_info); | |
38 | ||
f2459fe7 | 39 | #endif /* vport_netdev.h */ |