]>
Commit | Line | Data |
---|---|---|
a14bc59f BP |
1 | /* |
2 | * Copyright (c) 2009 Nicira Networks. | |
3 | * Distributed under the terms of the GNU GPL version 2. | |
4 | * | |
5 | * Significant portions of this file may be copied from parts of the Linux | |
6 | * kernel, by Linus Torvalds and others. | |
7 | */ | |
8 | ||
2ba9026e BP |
9 | #ifndef DP_SYSFS_H |
10 | #define DP_SYSFS_H 1 | |
064af421 BP |
11 | |
12 | struct datapath; | |
13 | struct net_bridge_port; | |
14 | ||
2ba9026e BP |
15 | /* dp_sysfs_dp.c */ |
16 | int dp_sysfs_add_dp(struct datapath *dp); | |
17 | int dp_sysfs_del_dp(struct datapath *dp); | |
064af421 | 18 | |
2ba9026e BP |
19 | /* dp_sysfs_if.c */ |
20 | int dp_sysfs_add_if(struct net_bridge_port *p); | |
21 | int dp_sysfs_del_if(struct net_bridge_port *p); | |
064af421 | 22 | |
8fef8c71 | 23 | #ifdef CONFIG_SYSFS |
58c342f6 BP |
24 | extern struct sysfs_ops brport_sysfs_ops; |
25 | #endif | |
26 | ||
2ba9026e | 27 | #endif /* dp_sysfs.h */ |
064af421 | 28 |