Linux 6.10-rc3
[linux-block.git] / net / openvswitch / vport-netdev.h
CommitLineData
c9422999 1/* SPDX-License-Identifier: GPL-2.0-only */
ccb1352e 2/*
caf2ee14 3 * Copyright (c) 2007-2011 Nicira, Inc.
ccb1352e
JG
4 */
5
6#ifndef VPORT_NETDEV_H
7#define VPORT_NETDEV_H 1
8
9#include <linux/netdevice.h>
92eb1d47 10#include <linux/rcupdate.h>
ccb1352e
JG
11
12#include "vport.h"
13
14struct vport *ovs_netdev_get_vport(struct net_device *dev);
15
dcc38c03 16struct vport *ovs_netdev_link(struct vport *vport, const char *name);
b07c2651 17void ovs_netdev_detach_dev(struct vport *);
ccb1352e 18
62b9c8d0
TG
19int __init ovs_netdev_init(void);
20void ovs_netdev_exit(void);
21
a9020fde 22void ovs_netdev_tunnel_destroy(struct vport *vport);
ccb1352e 23#endif /* vport_netdev.h */