2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-27 15:18:06 +00:00
Files
openvswitch/datapath/dp_sysfs.h
Ben Pfaff 8fef8c7121 Merge citrix into master.
This was a somewhat difficult merge since there was a fair amount of
superficially divergent development on the two branches, especially in the
datapath.

This has been build-tested against XenServer 5.5.0 and XenServer 5.7.0
build 15122.  It has been booted and connected to XenCenter on 5.5.0.

The merge revealed a couple of outstanding bugs, which will be fixed on
citrix and then merged back into master.
2009-08-19 13:03:46 -07:00

29 lines
623 B
C

/*
* Copyright (c) 2009 Nicira Networks.
* Distributed under the terms of the GNU GPL version 2.
*
* Significant portions of this file may be copied from parts of the Linux
* kernel, by Linus Torvalds and others.
*/
#ifndef DP_SYSFS_H
#define DP_SYSFS_H 1
struct datapath;
struct net_bridge_port;
/* dp_sysfs_dp.c */
int dp_sysfs_add_dp(struct datapath *dp);
int dp_sysfs_del_dp(struct datapath *dp);
/* dp_sysfs_if.c */
int dp_sysfs_add_if(struct net_bridge_port *p);
int dp_sysfs_del_if(struct net_bridge_port *p);
#ifdef CONFIG_SYSFS
extern struct sysfs_ops brport_sysfs_ops;
#endif
#endif /* dp_sysfs.h */