2019-05-29 22:12:43 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-10-26 10:26:31 +08:00
|
|
|
/*
|
2012-05-04 09:55:23 +08:00
|
|
|
* Copyright (c) 2007-2011 Nicira, Inc.
|
2011-10-26 10:26:31 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef VPORT_INTERNAL_DEV_H
|
|
|
|
#define VPORT_INTERNAL_DEV_H 1
|
|
|
|
|
|
|
|
#include "datapath.h"
|
|
|
|
#include "vport.h"
|
|
|
|
|
|
|
|
int ovs_is_internal_dev(const struct net_device *);
|
|
|
|
struct vport *ovs_internal_dev_get_vport(struct net_device *);
|
2014-06-26 15:58:26 +08:00
|
|
|
int ovs_internal_dev_rtnl_link_register(void);
|
|
|
|
void ovs_internal_dev_rtnl_link_unregister(void);
|
2011-10-26 10:26:31 +08:00
|
|
|
|
|
|
|
#endif /* vport-internal_dev.h */
|