2019-05-29 17:12:43 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-10-26 06:26:31 +04:00
|
|
|
/*
|
2012-05-04 05:55:23 +04:00
|
|
|
* Copyright (c) 2007-2011 Nicira, Inc.
|
2011-10-26 06:26:31 +04: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 11:58:26 +04:00
|
|
|
int ovs_internal_dev_rtnl_link_register(void);
|
|
|
|
void ovs_internal_dev_rtnl_link_unregister(void);
|
2011-10-26 06:26:31 +04:00
|
|
|
|
|
|
|
#endif /* vport-internal_dev.h */
|