vport-netdev.h 539 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2007-2011 Nicira, Inc.
  4. */
  5. #ifndef VPORT_NETDEV_H
  6. #define VPORT_NETDEV_H 1
  7. #include <linux/netdevice.h>
  8. #include <linux/rcupdate.h>
  9. #include "vport.h"
  10. struct vport *ovs_netdev_get_vport(struct net_device *dev);
  11. struct vport *ovs_netdev_link(struct vport *vport, const char *name);
  12. void ovs_netdev_detach_dev(struct vport *);
  13. int __init ovs_netdev_init(void);
  14. void ovs_netdev_exit(void);
  15. void ovs_netdev_tunnel_destroy(struct vport *vport);
  16. #endif /* vport_netdev.h */