David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2007-2011 Nicira, Inc. |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [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 *); |
| 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 */ |