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