xref: /linux/net/openvswitch/vport-internal_dev.h (revision 5bc7f990cd98f3f7977d62bfe75c50b4b33d13f6)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2007-2011 Nicira, Inc.
4  */
5 
6 #ifndef VPORT_INTERNAL_DEV_H
7 #define VPORT_INTERNAL_DEV_H 1
8 
9 #include "datapath.h"
10 #include "vport.h"
11 
12 int ovs_is_internal_dev(const struct net_device *);
13 struct vport *ovs_internal_dev_get_vport(struct net_device *);
14 int ovs_internal_dev_rtnl_link_register(void);
15 void ovs_internal_dev_rtnl_link_unregister(void);
16 
17 #endif /* vport-internal_dev.h */
18