Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (c) 2007-2011 Nicira, Inc.
0004  */
0005 
0006 #ifndef VPORT_NETDEV_H
0007 #define VPORT_NETDEV_H 1
0008 
0009 #include <linux/netdevice.h>
0010 #include <linux/rcupdate.h>
0011 
0012 #include "vport.h"
0013 
0014 struct vport *ovs_netdev_get_vport(struct net_device *dev);
0015 
0016 struct vport *ovs_netdev_link(struct vport *vport, const char *name);
0017 void ovs_netdev_detach_dev(struct vport *);
0018 
0019 int __init ovs_netdev_init(void);
0020 void ovs_netdev_exit(void);
0021 
0022 void ovs_netdev_tunnel_destroy(struct vport *vport);
0023 #endif /* vport_netdev.h */