1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * Copyright (c) 2007-2011 Nicira, Inc. 3 * Copyright (c) 2007-2011 Nicira, Inc. 4 */ 4 */ 5 5 6 #ifndef VPORT_NETDEV_H 6 #ifndef VPORT_NETDEV_H 7 #define VPORT_NETDEV_H 1 7 #define VPORT_NETDEV_H 1 8 8 9 #include <linux/netdevice.h> 9 #include <linux/netdevice.h> 10 #include <linux/rcupdate.h> 10 #include <linux/rcupdate.h> 11 11 12 #include "vport.h" 12 #include "vport.h" 13 13 14 struct vport *ovs_netdev_get_vport(struct net_ 14 struct vport *ovs_netdev_get_vport(struct net_device *dev); 15 15 16 struct vport *ovs_netdev_link(struct vport *vp 16 struct vport *ovs_netdev_link(struct vport *vport, const char *name); 17 void ovs_netdev_detach_dev(struct vport *); 17 void ovs_netdev_detach_dev(struct vport *); 18 18 19 int __init ovs_netdev_init(void); 19 int __init ovs_netdev_init(void); 20 void ovs_netdev_exit(void); 20 void ovs_netdev_exit(void); 21 21 22 void ovs_netdev_tunnel_destroy(struct vport *v 22 void ovs_netdev_tunnel_destroy(struct vport *vport); 23 #endif /* vport_netdev.h */ 23 #endif /* vport_netdev.h */ 24 24
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.