Thomas Gleixner | c942299 | 2019-05-29 07:12:43 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Jesse Gross | ccb1352 | 2011-10-25 19:26:31 -0700 | [diff] [blame] | 2 | /* |
Raju Subramanian | caf2ee1 | 2012-05-03 18:55:23 -0700 | [diff] [blame] | 3 | * Copyright (c) 2007-2011 Nicira, Inc. |
Jesse Gross | ccb1352 | 2011-10-25 19:26:31 -0700 | [diff] [blame] | 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 *); |
Jiri Pirko | 5b9e7e1 | 2014-06-26 09:58:26 +0200 | [diff] [blame] | 14 | int ovs_internal_dev_rtnl_link_register(void); |
| 15 | void ovs_internal_dev_rtnl_link_unregister(void); |
Jesse Gross | ccb1352 | 2011-10-25 19:26:31 -0700 | [diff] [blame] | 16 | |
| 17 | #endif /* vport-internal_dev.h */ |