]>
Commit | Line | Data |
---|---|---|
a14bc59f | 1 | /* |
e0edde6f | 2 | * Copyright (c) 2007-2011 Nicira, Inc. |
a14bc59f | 3 | * |
a9a29d22 JG |
4 | * This program is free software; you can redistribute it and/or |
5 | * modify it under the terms of version 2 of the GNU General Public | |
6 | * License as published by the Free Software Foundation. | |
7 | * | |
8 | * This program is distributed in the hope that it will be useful, but | |
9 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
11 | * General Public License for more details. | |
12 | * | |
13 | * You should have received a copy of the GNU General Public License | |
14 | * along with this program; if not, write to the Free Software | |
15 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | |
16 | * 02110-1301, USA | |
a14bc59f BP |
17 | */ |
18 | ||
2ba9026e BP |
19 | #ifndef DP_SYSFS_H |
20 | #define DP_SYSFS_H 1 | |
064af421 BP |
21 | |
22 | struct datapath; | |
e779d8d9 | 23 | struct vport; |
064af421 | 24 | |
2ba9026e | 25 | /* dp_sysfs_dp.c */ |
850b6b3b JG |
26 | int ovs_dp_sysfs_add_dp(struct datapath *dp); |
27 | int ovs_dp_sysfs_del_dp(struct datapath *dp); | |
064af421 | 28 | |
2ba9026e | 29 | /* dp_sysfs_if.c */ |
850b6b3b JG |
30 | int ovs_dp_sysfs_add_if(struct vport *p); |
31 | int ovs_dp_sysfs_del_if(struct vport *p); | |
064af421 | 32 | |
8fef8c71 | 33 | #ifdef CONFIG_SYSFS |
850b6b3b | 34 | extern struct sysfs_ops ovs_brport_sysfs_ops; |
58c342f6 BP |
35 | #endif |
36 | ||
2ba9026e | 37 | #endif /* dp_sysfs.h */ |
064af421 | 38 |