blob: 0112d1b09d4bf5d252ccab976d40ef66c74ce10e [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Copyright (c) 2007-2011 Nicira, Inc.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00004 */
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 *);
14int ovs_internal_dev_rtnl_link_register(void);
15void ovs_internal_dev_rtnl_link_unregister(void);
16
17#endif /* vport-internal_dev.h */