xref: /linux/net/openvswitch/vport-netdev.h (revision 26ba30221c03364d6ed9910be8da4c1fd871b07b)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2007-2011 Nicira, Inc.
4  */
5 
6 #ifndef VPORT_NETDEV_H
7 #define VPORT_NETDEV_H 1
8 
9 #include <linux/netdevice.h>
10 #include <linux/rcupdate.h>
11 
12 #include "vport.h"
13 
14 struct vport *ovs_netdev_get_vport(struct net_device *dev);
15 
16 void ovs_netdev_detach_dev(struct vport *);
17 
18 int __init ovs_netdev_init(void);
19 void ovs_netdev_exit(void);
20 
21 #endif /* vport_netdev.h */
22