blob: 0112d1b09d4bf5d252ccab976d40ef66c74ce10e [file] [log] [blame]
Thomas Gleixnerc9422992019-05-29 07:12:43 -07001/* SPDX-License-Identifier: GPL-2.0-only */
Jesse Grossccb13522011-10-25 19:26:31 -07002/*
Raju Subramaniancaf2ee12012-05-03 18:55:23 -07003 * Copyright (c) 2007-2011 Nicira, Inc.
Jesse Grossccb13522011-10-25 19:26:31 -07004 */
5
6#ifndef VPORT_INTERNAL_DEV_H
7#define VPORT_INTERNAL_DEV_H 1
8
9#include "datapath.h"
10#include "vport.h"
11
12int ovs_is_internal_dev(const struct net_device *);
13struct vport *ovs_internal_dev_get_vport(struct net_device *);
Jiri Pirko5b9e7e12014-06-26 09:58:26 +020014int ovs_internal_dev_rtnl_link_register(void);
15void ovs_internal_dev_rtnl_link_unregister(void);
Jesse Grossccb13522011-10-25 19:26:31 -070016
17#endif /* vport-internal_dev.h */